Переглянути джерело

qcacmn: Remove driver registration logic from hif

Upper layers are responsible for registering the wlan
driver.

Change-Id: I5644aa3895827b5e9d29c8f1e7b1d910c9da20fd
CRs-Fixed: 986480
Houston Hoffman 9 роки тому
батько
коміт
379fad90ca
1 змінених файлів з 0 додано та 11 видалено
  1. 0 11
      hif/src/pcie/if_pci_internal.h

+ 0 - 11
hif/src/pcie/if_pci_internal.h

@@ -27,17 +27,6 @@
 
 #ifndef __IF_PCI_INTERNAL_H__
 #define __IF_PCI_INTERNAL_H__
-#ifdef CONFIG_CNSS
-#define HIF_REGISTER_DRIVER(wlan_drv_id) \
-	cnss_wlan_register_driver(wlan_drv_id)
-#define HIF_UNREGISTER_DRIVER(wlan_drv_id) \
-	cnss_wlan_unregister_driver(wlan_drv_id)
-#else
-#define HIF_REGISTER_DRIVER(wlan_drv_id) \
-	pci_register_driver(wlan_drv_id)
-#define HIF_UNREGISTER_DRIVER(wlan_drv_id) \
-	pci_unregister_driver(wlan_drv_id)
-#endif
 
 #ifdef DISABLE_L1SS_STATES
 #define PCI_CFG_TO_DISABLE_L1SS_STATES(pdev, addr) \