Commit 0b0acd8c authored by Franky Lin's avatar Franky Lin Committed by John W. Linville
Browse files

brcmfmac: add owner info to sdio_driver structure



To link module attribute with sdio device driver attribute in sysfs.

Reviewed-by: default avatarDaniel (Deognyoun) Kim <dekim@broadcom.com>
Reviewed-by: default avatarArend Van Spriel <arend@broadcom.com>
Reviewed-by: default avatarPieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: default avatarFranky Lin <frankyl@broadcom.com>
Signed-off-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 9ee66d1b
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1115,11 +1115,12 @@ static struct sdio_driver brcmf_sdmmc_driver = {
	.remove = brcmf_ops_sdio_remove,
	.name = BRCMFMAC_SDIO_PDATA_NAME,
	.id_table = brcmf_sdmmc_ids,
#ifdef CONFIG_PM_SLEEP
	.drv = {
		.owner = THIS_MODULE,
#ifdef CONFIG_PM_SLEEP
		.pm = &brcmf_sdio_pm_ops,
	},
#endif	/* CONFIG_PM_SLEEP */
	},
};

static int brcmf_sdio_pd_probe(struct platform_device *pdev)