wlcore: use PLATFORM_DEVID_AUTO for plat dev creation to avoid conflicts
authorLuciano Coelho <coelho@ti.com>
Wed, 23 Jan 2013 14:40:37 +0000 (16:40 +0200)
committerLuciano Coelho <coelho@ti.com>
Fri, 8 Feb 2013 08:05:02 +0000 (10:05 +0200)
commit06ab4058ea418d8503458bea386961b9dd554356
tree9175464b244a7dd745d2fbfc2a0ae1da5ef3f691
parent91147a6cd0f599e1e2f5a904c37d73df58f9508f
wlcore: use PLATFORM_DEVID_AUTO for plat dev creation to avoid conflicts

The platform devices can be created by both wlcore_sdio and
wlcore_spi.  Theoretically, if both are connected to the same board,
there will be a conflict.

Reported-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/sdio.c
drivers/net/wireless/ti/wlcore/spi.c