wl12xx: add a platform device to the sdio module
authorFelipe Balbi <balbi@ti.com>
Wed, 5 Oct 2011 06:00:12 +0000 (09:00 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 11 Oct 2011 13:00:55 +0000 (16:00 +0300)
commit025aef8fcfbdf680376c4f7aa31b9ac85cebc700
tree0fe8a6bc80b86ddc4be8a3822e10f8c11e443bff
parentb65019f661733ece3be0680be307d238d4dec68e
wl12xx: add a platform device to the sdio module

The platform device will be used to match the platform driver that
will be implemented by the core module.

Signed-off-by: Felipe Balbi <balbi@ti.com>
[forward-ported, cleaned-up and rephrased commit message]
[call platform_device_add() instead of platform_device_register()]
[store alloc'ed device platform directly in glue->core]
[fixed the length of memset(res...)]
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/sdio.c