wl12xx: add platform data passing support
authorOhad Ben-Cohen <ohad@wizery.com>
Wed, 15 Sep 2010 23:31:12 +0000 (01:31 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 21 Sep 2010 15:04:57 +0000 (11:04 -0400)
commit61ee7007a5d61aa066076da578e8e8084e122d7d
treea4a9a4d812504af92fd4e84e92578b7dfbbf2605
parent2cc78ff78c0af502b040d4527212e29e02d3231d
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>
drivers/net/wireless/Makefile
drivers/net/wireless/wl12xx/Kconfig
drivers/net/wireless/wl12xx/wl12xx_platform_data.c [new file with mode: 0644]
include/linux/wl12xx.h