wl1251: register platform_device to pass board data
authorGrazvydas Ignotas <notasas@gmail.com>
Thu, 15 Apr 2010 15:23:23 +0000 (18:23 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Apr 2010 19:32:01 +0000 (15:32 -0400)
commit8c00b39f33bc5340be9b053963321eb9ea6a78ee
tree4bde3b46369bec962f658c157d397f1abe8feaf4
parent103823db62ffca028c7a214c80266519d2ea7d8d
wl1251: register platform_device to pass board data

wl1251 is embedded chip that can be connected using SDIO bus, and is not
an actual SDIO card. For this reason there is a need to pass some board
specific data, like 'EEPROM is attached' flag or power control callback.

However currently there is no way to pass this data through SDIO subsystem,
so this patch registers dummy platform_device to allow that, until we
have a better solution to this.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Acked-by: Kalle Valo <kvalo@adurom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1251_sdio.c