Commit c2d23c70 authored by Jean Delvare's avatar Jean Delvare Committed by John W. Linville
Browse files

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: default avatarJean 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: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 1b5c8d60
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");