staging: wilc1000: remove PANDA_BOARD
authorTony Cho <tony.cho@atmel.com>
Wed, 16 Sep 2015 01:43:46 +0000 (10:43 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Sep 2015 04:34:44 +0000 (21:34 -0700)
This patch removes one of the platform dependencies, PANDA_BOARD from the
driver codes. The device tree will provide the platform dependencies in
the future commits.

Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c
drivers/staging/wilc1000/linux_wlan_common.h
drivers/staging/wilc1000/wilc_wfi_netdevice.h

index 6ad8cd5a7661684164d0262e95fc1023e8afa39b..bd77eb3682f0e2047a705d62dee2d5b84d716142 100644 (file)
@@ -435,10 +435,6 @@ static int init_irq(linux_wlan_t *p_nic)
  *
  * ex) nic->dev_irq_num = gpio_to_irq(GPIO_NUM);
  */
-#elif defined(PANDA_BOARD)
-               gpio_export(GPIO_NUM, 1);
-               nic->dev_irq_num = OMAP_GPIO_IRQ(GPIO_NUM);
-               irq_set_irq_type(nic->dev_irq_num, IRQ_TYPE_LEVEL_LOW);
 #else
                nic->dev_irq_num = gpio_to_irq(GPIO_NUM);
 #endif
index ea121f9b7fb0888864b8bb81174f40aead9ed590..5d13c151935048a45d28a43d812b3caf859d1a8a 100644 (file)
@@ -145,9 +145,6 @@ extern atomic_t DEBUG_LEVEL;
                #define MODALIAS        "wilc_spi3"
                #define GPIO_NUM        133
        #endif
-#elif defined(PANDA_BOARD)
-       #define MODALIAS        "WILC_SPI"
-       #define GPIO_NUM        139
 #elif defined(PLAT_WMS8304)             /* rachel */
        #define MODALIAS        "wilc_spi"
        #define GPIO_NUM        139
index 6ea5c87fe65065678621b506820f3c00f889ed76..904d9c3ba79355231ac26ea204949e58c64f7371 100644 (file)
@@ -80,11 +80,7 @@ struct WILC_WFI_stats {
  * LPC3131 which is important to get the MAC start status when you are blocked
  * inside linux_wlan_firmware_download() which blocks mac_open().
  */
-#if defined(PANDA_BOARD)
- #define RX_BH_TYPE  RX_BH_THREADED_IRQ
-#else
  #define RX_BH_TYPE  RX_BH_KTHREAD
-#endif
 
 struct wilc_wfi_key {
        u8 *key;
This page took 0.046956 seconds and 5 git commands to generate.