diff options
author | Franky Lin <frankyl@broadcom.com> | 2014-01-29 09:32:12 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-02-12 15:31:49 -0500 |
commit | 0b0acd8ce0d9fcf94ac0d2609ca25a6d99e3864b (patch) | |
tree | 18d3b1eae9fd14f86cc19124889893bb08a24f99 /drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c | |
parent | 9ee66d1bb631eb13a967b4888e412ea4d6dc55e5 (diff) |
brcmfmac: add owner info to sdio_driver structure
To link module attribute with sdio device driver attribute in sysfs.
Reviewed-by: Daniel (Deognyoun) Kim <dekim@broadcom.com>
Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c')
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c b/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c index fa35b23bbaa7..9eb6f786b3b4 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c | |||
@@ -1115,11 +1115,12 @@ static struct sdio_driver brcmf_sdmmc_driver = { | |||
1115 | .remove = brcmf_ops_sdio_remove, | 1115 | .remove = brcmf_ops_sdio_remove, |
1116 | .name = BRCMFMAC_SDIO_PDATA_NAME, | 1116 | .name = BRCMFMAC_SDIO_PDATA_NAME, |
1117 | .id_table = brcmf_sdmmc_ids, | 1117 | .id_table = brcmf_sdmmc_ids, |
1118 | #ifdef CONFIG_PM_SLEEP | ||
1119 | .drv = { | 1118 | .drv = { |
1119 | .owner = THIS_MODULE, | ||
1120 | #ifdef CONFIG_PM_SLEEP | ||
1120 | .pm = &brcmf_sdio_pm_ops, | 1121 | .pm = &brcmf_sdio_pm_ops, |
1121 | }, | ||
1122 | #endif /* CONFIG_PM_SLEEP */ | 1122 | #endif /* CONFIG_PM_SLEEP */ |
1123 | }, | ||
1123 | }; | 1124 | }; |
1124 | 1125 | ||
1125 | static int brcmf_sdio_pd_probe(struct platform_device *pdev) | 1126 | static int brcmf_sdio_pd_probe(struct platform_device *pdev) |