]> git.karo-electronics.de Git - mv-sheeva.git/commit
wl12xx: add a platform device to the spi module
authorFelipe Balbi <balbi@ti.com>
Wed, 5 Oct 2011 06:29:13 +0000 (09:29 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 11 Oct 2011 13:01:00 +0000 (16:01 +0300)
commit0969d6793f4899a4c5f56443d50f272068b97142
tree0d72f046bc36bdda2b4afbc2904f480874588e17
parent025aef8fcfbdf680376c4f7aa31b9ac85cebc700
wl12xx: add a platform device to the spi 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/spi.c