* [PATCH] ath10k: sdio: add .owner field
@ 2019-01-29 23:14 Brian Norris
2019-02-07 14:53 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Brian Norris @ 2019-01-29 23:14 UTC (permalink / raw)
To: Kalle Valo; +Cc: ath10k, linux-wireless, Wen Gong, linux-kernel, Brian Norris
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>
---
drivers/net/wireless/ath/ath10k/sdio.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath10k/sdio.c b/drivers/net/wireless/ath/ath10k/sdio.c
index 983ecfef1d28..2fc0c17c9672 100644
--- a/drivers/net/wireless/ath/ath10k/sdio.c
+++ b/drivers/net/wireless/ath/ath10k/sdio.c
@@ -2088,7 +2088,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)
--
2.20.1.495.gaa96b0ce6b-goog
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ath10k: sdio: add .owner field
2019-01-29 23:14 [PATCH] ath10k: sdio: add .owner field Brian Norris
@ 2019-02-07 14:53 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2019-02-07 14:53 UTC (permalink / raw)
To: Brian Norris; +Cc: ath10k, linux-wireless, Wen Gong, linux-kernel, Brian Norris
Brian Norris <briannorris@chromium.org> wrote:
> 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>
Patch applied to ath-next branch of ath.git, thanks.
ea6959840814 ath10k: sdio: add .owner field
--
https://patchwork.kernel.org/patch/10787307/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-02-07 14:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-29 23:14 [PATCH] ath10k: sdio: add .owner field Brian Norris
2019-02-07 14:53 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).