summaryrefslogtreecommitdiffstats
path: root/drivers/input/serio/altera_ps2.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2009-12-11 21:10:18 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-12-11 23:45:11 -0800
commit898d1053f72c192a6e7f701e915995afff695de8 (patch)
tree33b9a5fa9c3d24133abf422e651f376691e1aa25 /drivers/input/serio/altera_ps2.c
parent1f26978afd123deb22dd3c7dc75771a02f6e03f6 (diff)
downloadblackbird-obmc-linux-898d1053f72c192a6e7f701e915995afff695de8.tar.gz
blackbird-obmc-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/altera_ps2.c')
-rw-r--r--drivers/input/serio/altera_ps2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/serio/altera_ps2.c b/drivers/input/serio/altera_ps2.c
index f479ea50919f..b328185b1cc2 100644
--- a/drivers/input/serio/altera_ps2.c
+++ b/drivers/input/serio/altera_ps2.c
@@ -178,6 +178,7 @@ static struct platform_driver altera_ps2_driver = {
.remove = altera_ps2_remove,
.driver = {
.name = DRV_NAME,
+ .owner = THIS_MODULE,
},
};
OpenPOWER on IntegriCloud