#include <linux/export.h>
 #include <linux/types.h>
-#include <linux/ath9k_platform.h>
 #include "hw.h"
 
 enum ath_bt_mode {
                                     u8 btactive_gpio, u8 btpriority_gpio)
 {
        struct ath_btcoex_hw *btcoex_hw = &ah->btcoex_hw;
-       struct ath9k_platform_data *pdata = ah->dev->platform_data;
 
        if (btcoex_hw->scheme != ATH_BTCOEX_CFG_2WIRE &&
            btcoex_hw->scheme != ATH_BTCOEX_CFG_3WIRE)
                return;
 
-       /* bt priority GPIO will be ignored by 2 wire scheme */
-       if (pdata && (pdata->bt_active_pin || pdata->bt_priority_pin ||
-                     pdata->wlan_active_pin)) {
-               btcoex_hw->btactive_gpio = pdata->bt_active_pin;
-               btcoex_hw->wlanactive_gpio = pdata->wlan_active_pin;
-               btcoex_hw->btpriority_gpio = pdata->bt_priority_pin;
-       } else {
-               btcoex_hw->btactive_gpio = btactive_gpio;
-               btcoex_hw->wlanactive_gpio = wlanactive_gpio;
-               btcoex_hw->btpriority_gpio = btpriority_gpio;
-       }
+       btcoex_hw->btactive_gpio = btactive_gpio;
+       btcoex_hw->wlanactive_gpio = wlanactive_gpio;
+       btcoex_hw->btpriority_gpio = btpriority_gpio;
 }
 
 void ath9k_hw_btcoex_init_scheme(struct ath_hw *ah)