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>
这个提交包含在:
@@ -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)
|
||||
|
在新工单中引用
屏蔽一个用户