summaryrefslogtreecommitdiffstats
path: root/drivers/input/serio/ambakmi.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2009-12-12 06:10:18 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-12-12 08:45:11 +0100
commit898d1053f72c192a6e7f701e915995afff695de8 (patch)
tree33b9a5fa9c3d24133abf422e651f376691e1aa25 /drivers/input/serio/ambakmi.c
parentInput: appletouch - give up maintainership (diff)
downloadlinux-898d1053f72c192a6e7f701e915995afff695de8.tar.xz
linux-898d1053f72c192a6e7f701e915995afff695de8.zip
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: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/serio/ambakmi.c')
-rw-r--r--drivers/input/serio/ambakmi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/serio/ambakmi.c b/drivers/input/serio/ambakmi.c
index 89b394183a75..8f67b05bf86b 100644
--- a/drivers/input/serio/ambakmi.c
+++ b/drivers/input/serio/ambakmi.c
@@ -197,6 +197,7 @@ static struct amba_id amba_kmi_idtable[] = {
static struct amba_driver ambakmi_driver = {
.drv = {
.name = "kmi-pl050",
+ .owner = THIS_MODULE,
},
.id_table = amba_kmi_idtable,
.probe = amba_kmi_probe,