wl1251: register platform_device to pass board data
authorGrazvydas Ignotas <notasas@gmail.com>
Thu, 15 Apr 2010 15:23:23 +0000 (18:23 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Tue, 20 Apr 2010 13:13:47 +0000 (16:13 +0300)
commite68bc766c179b41b676f4f0d6549dd726e0278ca
tree3a0e3e545f4e081527f9237463451d7712d3b663
parent1fc67684e572ad606489e1aed97cdfd2d69f3c29
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