path: root/drivers/net/wireless/ti/Makefile
diff options
authorLuciano Coelho <coelho@ti.com>2013-01-25 12:05:34 +0200
committerLuciano Coelho <coelho@ti.com>2013-02-08 10:05:02 +0200
commit6cc9efed707c575a9e5880ea68f8b9d36b235f1f (patch)
tree205ce4c92ece7ea5c3020b9ce12ca801e08642af /drivers/net/wireless/ti/Makefile
parent06ab4058ea418d8503458bea386961b9dd554356 (diff)
wlcore: move wl12xx_platform_data up and make it truly optional
The platform data is used not only by wlcore-based drivers, but also by wl1251. Move it up in the directory hierarchy to reflect this. Additionally, make it truly optional. At the moment, disabling platform data while wl1251_sdio or wlcore_sdio are enabled doesn't work, but it will be necessary when device tree support is implemented. Signed-off-by: Luciano Coelho <coelho@ti.com> Reviewed-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/Makefile')
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/ti/Makefile b/drivers/net/wireless/ti/Makefile
index 4d6823983c0..af14231aeed 100644
--- a/drivers/net/wireless/ti/Makefile
+++ b/drivers/net/wireless/ti/Makefile
@@ -1,5 +1,7 @@
obj-$(CONFIG_WLCORE) += wlcore/
obj-$(CONFIG_WL12XX) += wl12xx/
-obj-$(CONFIG_WL12XX_PLATFORM_DATA) += wlcore/
obj-$(CONFIG_WL1251) += wl1251/
obj-$(CONFIG_WL18XX) += wl18xx/
+# small builtin driver bit
+obj-$(CONFIG_WILINK_PLATFORM_DATA) += wilink_platform_data.o