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>
This commit is contained in:
Jean Delvare 2014-03-13 23:21:08 +01:00 committed by John W. Linville
parent 1b5c8d60d2
commit c2d23c709c
1 changed files with 1 additions and 1 deletions

View File

@ -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");