提交 02a0fbe4 编写于 作者: R Rafał Miłecki 提交者: John W. Linville

b43: SDIO: use new pointers path to access ssb_device

SDIO code is SSB specific, we can safely just use "sdev"
Signed-off-by: NRafał Miłecki <zajec5@gmail.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 6ac53692
...@@ -66,7 +66,7 @@ static void b43_sdio_interrupt_dispatcher(struct sdio_func *func) ...@@ -66,7 +66,7 @@ static void b43_sdio_interrupt_dispatcher(struct sdio_func *func)
int b43_sdio_request_irq(struct b43_wldev *dev, int b43_sdio_request_irq(struct b43_wldev *dev,
void (*handler)(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 sdio_func *func = bus->host_sdio;
struct b43_sdio *sdio = sdio_get_drvdata(func); struct b43_sdio *sdio = sdio_get_drvdata(func);
int err; int err;
...@@ -82,7 +82,7 @@ int b43_sdio_request_irq(struct b43_wldev *dev, ...@@ -82,7 +82,7 @@ int b43_sdio_request_irq(struct b43_wldev *dev,
void b43_sdio_free_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 sdio_func *func = bus->host_sdio;
struct b43_sdio *sdio = sdio_get_drvdata(func); struct b43_sdio *sdio = sdio_get_drvdata(func);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册