wl12xx: add an sdio glue struct to keep wl and device side-by-side
authorFelipe Balbi <balbi@ti.com>
Tue, 4 Oct 2011 20:10:28 +0000 (23:10 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 11 Oct 2011 13:00:46 +0000 (16:00 +0300)
commitfbe936bcb59d8e6e054c325a441082b55538bf8f
treeb2ad087630dafef90bc89fcdf2dfa2b3c1b8cf81
parentc7e7c227b63836933ef736fa2d7cc526174b1563
wl12xx: add an sdio glue struct to keep wl and device side-by-side

In order to fully abstract the bus, we need to save the device
structure *beside* wl1271, instead of inside it.

This will help re-structuring the driver so that we avoid the
duplicated code in the bus modules.

Signed-off-by: Felipe Balbi <balbi@ti.com>
[forward-ported and cleaned up and rephrased commit message]
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/sdio.c