diff options
author | Felipe Balbi <balbi@ti.com> | 2011-10-06 11:07:44 +0400 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-10-11 17:01:09 +0400 |
commit | a390e85cfe91c346ff4745bcd45ad0a7e7101aa2 (patch) | |
tree | 789c84bbe5228b6c15dda7c1072dd220bd15dba1 /include/linux/wl12xx.h | |
parent | ce2a217c8268906640ebf7291d7a06210a35dd2f (diff) | |
download | linux-a390e85cfe91c346ff4745bcd45ad0a7e7101aa2.tar.xz |
wl12xx: move common init code from bus modules to main
Move all common parts from sdio.c and spi.c to main.c, since they now
can be handled as part of the platform driver.
Signed-off-by: Felipe Balbi <balbi@ti.com>
[forward-ported, cleaned-up and rephrased commit message]
[added a bunch of fixes and a new pdata element]
[moved some new code into main.c as well]
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'include/linux/wl12xx.h')
-rw-r--r-- | include/linux/wl12xx.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/wl12xx.h b/include/linux/wl12xx.h index 4b697395326e..0d6373195d32 100644 --- a/include/linux/wl12xx.h +++ b/include/linux/wl12xx.h @@ -54,6 +54,9 @@ struct wl12xx_platform_data { int board_ref_clock; int board_tcxo_clock; unsigned long platform_quirks; + bool pwr_in_suspend; + + struct wl1271_if_operations *ops; }; /* Platform does not support level trigger interrupts */ @@ -73,6 +76,6 @@ int wl12xx_set_platform_data(const struct wl12xx_platform_data *data) #endif -const struct wl12xx_platform_data *wl12xx_get_platform_data(void); +struct wl12xx_platform_data *wl12xx_get_platform_data(void); #endif |