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>
This commit is contained in:
parent
40194e3b36
commit
ea69598408
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue