From f1382ccbd34fc22daf504e798745f6cddb702b82 Mon Sep 17 00:00:00 2001 From: Sherry Sun Date: Thu, 1 Jun 2023 16:07:43 +0800 Subject: [PATCH] mxm_wifiex: remove MODULE_DEVICE_TABLE to avoid wifi driver auto load Load wifi driver need to use specific load parameters for differnet wifi chips, so avoid wifi driver auto load, user can load the wifi driver along with the specific load parameters. Signed-off-by: Sherry Sun --- mxm_wifiex/wlan_src/mlinux/moal_pcie.c | 2 -- mxm_wifiex/wlan_src/mlinux/moal_sdio_mmc.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/mxm_wifiex/wlan_src/mlinux/moal_pcie.c b/mxm_wifiex/wlan_src/mlinux/moal_pcie.c index 8813cdd..e7d60e1 100644 --- a/mxm_wifiex/wlan_src/mlinux/moal_pcie.c +++ b/mxm_wifiex/wlan_src/mlinux/moal_pcie.c @@ -148,8 +148,6 @@ static const struct pci_device_id wlan_ids[] = { /* moal interface ops */ static moal_if_ops pcie_ops; -MODULE_DEVICE_TABLE(pci, wlan_ids); - /******************************************************** Global Variables ********************************************************/ diff --git a/mxm_wifiex/wlan_src/mlinux/moal_sdio_mmc.c b/mxm_wifiex/wlan_src/mlinux/moal_sdio_mmc.c index 077dcf0..9bd634e 100644 --- a/mxm_wifiex/wlan_src/mlinux/moal_sdio_mmc.c +++ b/mxm_wifiex/wlan_src/mlinux/moal_sdio_mmc.c @@ -135,8 +135,6 @@ static const struct sdio_device_id wlan_ids[] = { {}, }; -MODULE_DEVICE_TABLE(sdio, wlan_ids); - int woal_sdio_probe(struct sdio_func *func, const struct sdio_device_id *id); void woal_sdio_remove(struct sdio_func *func); #ifdef SDIO