net: wireless: bcmdhd: do not register for L4T only
Varun Wadekar [Wed, 11 Jul 2012 12:45:54 +0000 (17:45 +0530)]
Commit ba5525887e56bc29b884f9edc56349ff54a39174 changed the way
we register bcmdhd for L4T. This breaks bcmdhd loading on Android.
Add a compile time check to load bcmdhd on Android.

Change-Id: I515798b1fabbadf00047a125dee43f0a048f9bab
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

drivers/net/wireless/bcmdhd/bcmsdh_sdmmc_linux.c

index 9004b68..d3681fc 100644 (file)
@@ -164,6 +164,9 @@ static const struct sdio_device_id bcmsdh_sdmmc_ids[] = {
        { SDIO_DEVICE(SDIO_VENDOR_ID_BROADCOM, SDIO_DEVICE_ID_BROADCOM_4334) },
        { SDIO_DEVICE(SDIO_VENDOR_ID_BROADCOM, SDIO_DEVICE_ID_BROADCOM_4324) },
        { SDIO_DEVICE(SDIO_VENDOR_ID_BROADCOM, SDIO_DEVICE_ID_BROADCOM_43239) },
+#ifdef CONFIG_ANDROID
+       { SDIO_DEVICE_CLASS(SDIO_CLASS_NONE)            },
+#endif
        { /* end: all zeroes */                         },
 };