wl12xx: add an spi glue struct to keep wl and device side-by-side
authorFelipe Balbi <balbi@ti.com>
Tue, 4 Oct 2011 20:36:47 +0000 (23:36 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 11 Oct 2011 13:00:51 +0000 (16:00 +0300)
commitb65019f661733ece3be0680be307d238d4dec68e
tree507d603a2b1034e6db12ff5759258a061c170c7a
parentfbe936bcb59d8e6e054c325a441082b55538bf8f
wl12xx: add an spi 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/spi.c