One of the benefits of platform_driver_probe() is that you can make the probe function __init. Signed-off-by: Jean Delvare <jdelvare@xxxxxxx> Cc: Hante Meuleman <meuleman@xxxxxxxxxxxx> Cc: Arend van Spriel <arend@xxxxxxxxxxxx> Cc: John W. Linville <linville@xxxxxxxxxxxxx> --- Build tested only, no hardware. drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 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"); -- Jean Delvare SUSE L3 Support -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html