summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-03-14 02:21:08 +0400
committerJohn W. Linville <linville@tuxdriver.com>2014-03-14 22:50:06 +0400
commitc2d23c709c4ca2ddee4256689ac608ee50ec955a (patch)
treebaf710466b62489492c1ff7b3696c0fe420ba6f5 /drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c
parent1b5c8d60d2257fd66ad789872845efd5c98bb26b (diff)
downloadlinux-c2d23c709c4ca2ddee4256689ac608ee50ec955a.tar.xz
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>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c')
-rw-r--r--drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c b/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c
index 4a6508e7e3a1..d737cf78469a 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c
+++ b/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");