]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf6b56233712aed2353a74870b375916d419ebcf3
treea4a9a4d812504af92fd4e84e92578b7dfbbf2605
parente68d723c97e38967b06442cf993a52a4eae74c16
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