brcmfmac: Make probe function __init
PATCH 1/1 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 <[email protected]>
Cc Hante Meuleman <[email protected]>
Cc Arend van Spriel <[email protected]>
Cc John W. Linville <[email protected]>
---
Build tested only, no hardware.
drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c +1 -1
@@ -1122,7 +1122,7 @@ static struct sdio_driver brcmf_sdmmc_dr#endif /* CONFIG_PM_SLEEP */ }; -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" );
Signature · 2 lines
Jean Delvare SUSE L3 Support