Commit 898d1053 authored by Dmitry Torokhov's avatar Dmitry Torokhov

Input: serio - set owner in driver structures

Setting up owner field ensures that driver core creates symlink from
the driver to a module implementing this driver.
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 1f26978a
...@@ -178,6 +178,7 @@ static struct platform_driver altera_ps2_driver = { ...@@ -178,6 +178,7 @@ static struct platform_driver altera_ps2_driver = {
.remove = altera_ps2_remove, .remove = altera_ps2_remove,
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -197,6 +197,7 @@ static struct amba_id amba_kmi_idtable[] = { ...@@ -197,6 +197,7 @@ static struct amba_id amba_kmi_idtable[] = {
static struct amba_driver ambakmi_driver = { static struct amba_driver ambakmi_driver = {
.drv = { .drv = {
.name = "kmi-pl050", .name = "kmi-pl050",
.owner = THIS_MODULE,
}, },
.id_table = amba_kmi_idtable, .id_table = amba_kmi_idtable,
.probe = amba_kmi_probe, .probe = amba_kmi_probe,
......
...@@ -352,6 +352,7 @@ static struct platform_driver psif_driver = { ...@@ -352,6 +352,7 @@ static struct platform_driver psif_driver = {
.remove = __exit_p(psif_remove), .remove = __exit_p(psif_remove),
.driver = { .driver = {
.name = "atmel_psif", .name = "atmel_psif",
.owner = THIS_MODULE,
}, },
.suspend = psif_suspend, .suspend = psif_suspend,
.resume = psif_resume, .resume = psif_resume,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment