Message ID | 20140313232108.7e760e11@endymion.delvare (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
--- linux-3.14-rc6.orig/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c 2014-02-09 16:53:04.065657732 +0100 +++ linux-3.14-rc6/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c 2014-03-13 19:46:25.083526576 +0100 @@ -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");
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> --- Build tested only, no hardware. drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)