summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/spi.c
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-03-14 14:05:13 +0200
committerLuciano Coelho <coelho@ti.com>2011-04-19 16:19:48 +0300
commita81159edf8d64011933df177ec42f82d7896a0c7 (patch)
treea37129b5a2d18e0306f40c4f3c3882416d4769a4 /drivers/net/wireless/wl12xx/spi.c
parent48a61477bdc04896bd96d259388a0c42a7019943 (diff)
downloadop-kernel-dev-a81159edf8d64011933df177ec42f82d7896a0c7.zip
op-kernel-dev-a81159edf8d64011933df177ec42f82d7896a0c7.tar.gz
wl12xx: 1281/1283 support - add block size handling for sdio and spi
Add the the set_block_size op in the SDIO and in the SPI modules. Since it is only used with SDIO, just explicitly set the op to NULL in spi.c Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/spi.c')
-rw-r--r--drivers/net/wireless/wl12xx/spi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/spi.c b/drivers/net/wireless/wl12xx/spi.c
index 80295f5..bfb1171 100644
--- a/drivers/net/wireless/wl12xx/spi.c
+++ b/drivers/net/wireless/wl12xx/spi.c
@@ -355,7 +355,8 @@ static struct wl1271_if_operations spi_ops = {
.power = wl1271_spi_set_power,
.dev = wl1271_spi_wl_to_dev,
.enable_irq = wl1271_spi_enable_interrupts,
- .disable_irq = wl1271_spi_disable_interrupts
+ .disable_irq = wl1271_spi_disable_interrupts,
+ .set_block_size = NULL,
};
static int __devinit wl1271_probe(struct spi_device *spi)
OpenPOWER on IntegriCloud