diff options
Diffstat (limited to 'drivers/input/keyboard/stowaway.c')
-rw-r--r-- | drivers/input/keyboard/stowaway.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/input/keyboard/stowaway.c b/drivers/input/keyboard/stowaway.c index 7437219370b1..cc612c5d5427 100644 --- a/drivers/input/keyboard/stowaway.c +++ b/drivers/input/keyboard/stowaway.c | |||
@@ -170,15 +170,4 @@ static struct serio_driver skbd_drv = { | |||
170 | .disconnect = skbd_disconnect, | 170 | .disconnect = skbd_disconnect, |
171 | }; | 171 | }; |
172 | 172 | ||
173 | static int __init skbd_init(void) | 173 | module_serio_driver(skbd_drv); |
174 | { | ||
175 | return serio_register_driver(&skbd_drv); | ||
176 | } | ||
177 | |||
178 | static void __exit skbd_exit(void) | ||
179 | { | ||
180 | serio_unregister_driver(&skbd_drv); | ||
181 | } | ||
182 | |||
183 | module_init(skbd_init); | ||
184 | module_exit(skbd_exit); | ||