summaryrefslogtreecommitdiffstats
path: root/include/linux/wl12xx.h
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2013-01-25 11:57:48 +0200
committerLuciano Coelho <coelho@ti.com>2013-02-08 10:05:02 +0200
commitafb43e6d88e587441c960a5d214d2c698d076c9c (patch)
treeb8df657e3e4e54c71e95f3972d7b9b05e286188d /include/linux/wl12xx.h
parent3a0a8d961e20132272887d9826738ce9b4d818f7 (diff)
wlcore: remove if_ops from platform_data
We can't pass pointers from the platform data to the modules, because with DT it cannot be done. Those pointers are not set by the board files anyway. It's the bus modules that set them, so they can be safely removed from the platform data without changing any board files. Create a new structure that the bus modules pass to wlcore. This structure contains the if_ops pointers and a pointer to the actual platform data. Signed-off-by: Luciano Coelho <coelho@ti.com> Reviewed-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/wl12xx.h')
-rw-r--r--include/linux/wl12xx.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/wl12xx.h b/include/linux/wl12xx.h
index 0d6373195d3..360c9bce665 100644
--- a/include/linux/wl12xx.h
+++ b/include/linux/wl12xx.h
@@ -55,8 +55,6 @@ struct wl12xx_platform_data {
int board_tcxo_clock;
unsigned long platform_quirks;
bool pwr_in_suspend;
-
- struct wl1271_if_operations *ops;
};
/* Platform does not support level trigger interrupts */