diff options
author | Brian Norris <briannorris@chromium.org> | 2019-01-29 15:14:48 -0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-02-07 16:53:01 +0200 |
commit | ea69598408147eabab23ebedbb5d0492381f0d18 (patch) | |
tree | 5c1a7d40caf68145e386f78d4e7b87330df0bf1a | |
parent | 40194e3b36bfd9e3972001f17c0171348d372c3d (diff) | |
download | linux-ea69598408147eabab23ebedbb5d0492381f0d18.tar.bz2 |
ath10k: sdio: add .owner field
sdio_register_driver() doesn't do this for us, unlike (for example)
platform_driver_register(). This is important for helping track
module-to-device relationships.
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
-rw-r--r-- | drivers/net/wireless/ath/ath10k/sdio.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/sdio.c b/drivers/net/wireless/ath/ath10k/sdio.c index 334a147901e4..f3b2e148e6ce 100644 --- a/drivers/net/wireless/ath/ath10k/sdio.c +++ b/drivers/net/wireless/ath/ath10k/sdio.c @@ -2096,7 +2096,10 @@ static struct sdio_driver ath10k_sdio_driver = { .id_table = ath10k_sdio_devices, .probe = ath10k_sdio_probe, .remove = ath10k_sdio_remove, - .drv.pm = ATH10K_SDIO_PM_OPS, + .drv = { + .owner = THIS_MODULE, + .pm = ATH10K_SDIO_PM_OPS, + }, }; static int __init ath10k_sdio_init(void) |