summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/b43/sdio.c
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-05-19 17:11:25 +0400
committerJohn W. Linville <linville@tuxdriver.com>2011-06-01 23:12:27 +0400
commit02a0fbe4dcb4c318d09d97b19e51f48ba6d36ede (patch)
tree3a8d9a5d6165cb8280d262c5518ba23f793bc533 /drivers/net/wireless/b43/sdio.c
parent6ac53692179da165b2cb1e2a122b0ed9dad9b9ad (diff)
downloadlinux-02a0fbe4dcb4c318d09d97b19e51f48ba6d36ede.tar.xz
b43: SDIO: use new pointers path to access ssb_device
SDIO code is SSB specific, we can safely just use "sdev" Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/sdio.c')
-rw-r--r--drivers/net/wireless/b43/sdio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/sdio.c b/drivers/net/wireless/b43/sdio.c
index 808e25b79703..e6c733d37c94 100644
--- a/drivers/net/wireless/b43/sdio.c
+++ b/drivers/net/wireless/b43/sdio.c
@@ -66,7 +66,7 @@ static void b43_sdio_interrupt_dispatcher(struct sdio_func *func)
int b43_sdio_request_irq(struct b43_wldev *dev,
void (*handler)(struct b43_wldev *dev))
{
- struct ssb_bus *bus = dev->sdev->bus;
+ struct ssb_bus *bus = dev->dev->sdev->bus;
struct sdio_func *func = bus->host_sdio;
struct b43_sdio *sdio = sdio_get_drvdata(func);
int err;
@@ -82,7 +82,7 @@ int b43_sdio_request_irq(struct b43_wldev *dev,
void b43_sdio_free_irq(struct b43_wldev *dev)
{
- struct ssb_bus *bus = dev->sdev->bus;
+ struct ssb_bus *bus = dev->dev->sdev->bus;
struct sdio_func *func = bus->host_sdio;
struct b43_sdio *sdio = sdio_get_drvdata(func);