浏览代码

brcmfmac: Make probe function __init

One of the benefits of platform_driver_probe() is that you can make
the probe function __init.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Hante Meuleman <meuleman@broadcom.com>
Cc: Arend van Spriel <arend@broadcom.com>
Cc: John W. Linville <linville@tuxdriver.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Jean Delvare 11 年之前
父节点
当前提交
c2d23c709c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c

+ 1 - 1
drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c

@@ -1153,7 +1153,7 @@ static struct sdio_driver brcmf_sdmmc_driver = {
 	},
 };
 
-static int brcmf_sdio_pd_probe(struct platform_device *pdev)
+static int __init brcmf_sdio_pd_probe(struct platform_device *pdev)
 {
 	brcmf_dbg(SDIO, "Enter\n");