modify wifi compile error
authorhwg <hwg@rock-chips.com>
Tue, 30 Jul 2013 07:46:46 +0000 (15:46 +0800)
committerhwg <hwg@rock-chips.com>
Tue, 30 Jul 2013 07:46:57 +0000 (15:46 +0800)
arch/arm/plat-rk/rk-sdmmc-wifi.c

index 55e1435ad1a7bc4b3c770336bf36e0b8d1c91495..287c8c9301631f9937c414c152605f3159b11ed6 100644 (file)
@@ -505,7 +505,9 @@ EXPORT_SYMBOL(rk29sdk_wifi_set_carddetect);
 
 static struct resource resources[] = {
        {
+#ifdef RK30SDK_WIFI_GPIO_WIFI_INT_B
                .start = RK30SDK_WIFI_GPIO_WIFI_INT_B,
+#endif
                .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL | IORESOURCE_IRQ_SHAREABLE,
                .name = "bcmdhd_wlan_irq",
        },