aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/wl12xx.h
diff options
context:
space:
mode:
authorOhad Ben-Cohen <ohad@wizery.com>2010-09-15 19:31:12 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-09-21 11:04:57 -0400
commit61ee7007a5d61aa066076da578e8e8084e122d7d (patch)
treea4a9a4d812504af92fd4e84e92578b7dfbbf2605 /include/linux/wl12xx.h
parent2cc78ff78c0af502b040d4527212e29e02d3231d (diff)
wl12xx: add platform data passing support
Add a simple mechanism to pass platform data to the SDIO instances of wl12xx. This way there is no confusion over who owns the 'embedded data', typechecking is preserved, and no possibility for the wrong driver to pick up the data. Originally proposed by Russell King. Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/wl12xx.h')
-rw-r--r--include/linux/wl12xx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/wl12xx.h b/include/linux/wl12xx.h
index 015687a1776d..bd70563107fa 100644
--- a/include/linux/wl12xx.h
+++ b/include/linux/wl12xx.h
@@ -31,4 +31,7 @@ struct wl12xx_platform_data {
31 bool use_eeprom; 31 bool use_eeprom;
32}; 32};
33 33
34int wl12xx_set_platform_data(const struct wl12xx_platform_data *data);
35const struct wl12xx_platform_data *wl12xx_get_platform_data(void);
36
34#endif 37#endif