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

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
...@@ -1115,11 +1115,12 @@ static struct sdio_driver brcmf_sdmmc_driver = { ...@@ -1115,11 +1115,12 @@ static struct sdio_driver brcmf_sdmmc_driver = {
.remove = brcmf_ops_sdio_remove, .remove = brcmf_ops_sdio_remove,
.name = BRCMFMAC_SDIO_PDATA_NAME, .name = BRCMFMAC_SDIO_PDATA_NAME,
.id_table = brcmf_sdmmc_ids, .id_table = brcmf_sdmmc_ids,
#ifdef CONFIG_PM_SLEEP
.drv = { .drv = {
.owner = THIS_MODULE,
#ifdef CONFIG_PM_SLEEP
.pm = &brcmf_sdio_pm_ops, .pm = &brcmf_sdio_pm_ops,
},
#endif /* CONFIG_PM_SLEEP */ #endif /* CONFIG_PM_SLEEP */
},
}; };
static int brcmf_sdio_pd_probe(struct platform_device *pdev) static int brcmf_sdio_pd_probe(struct platform_device *pdev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment