diff options
Diffstat (limited to 'drivers/input/misc/ixp4xx-beeper.c')
-rw-r--r-- | drivers/input/misc/ixp4xx-beeper.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/input/misc/ixp4xx-beeper.c b/drivers/input/misc/ixp4xx-beeper.c index 302ab46ce752..50e283068301 100644 --- a/drivers/input/misc/ixp4xx-beeper.c +++ b/drivers/input/misc/ixp4xx-beeper.c | |||
@@ -168,16 +168,5 @@ static struct platform_driver ixp4xx_spkr_platform_driver = { | |||
168 | .remove = __devexit_p(ixp4xx_spkr_remove), | 168 | .remove = __devexit_p(ixp4xx_spkr_remove), |
169 | .shutdown = ixp4xx_spkr_shutdown, | 169 | .shutdown = ixp4xx_spkr_shutdown, |
170 | }; | 170 | }; |
171 | module_platform_driver(ixp4xx_spkr_platform_driver); | ||
171 | 172 | ||
172 | static int __init ixp4xx_spkr_init(void) | ||
173 | { | ||
174 | return platform_driver_register(&ixp4xx_spkr_platform_driver); | ||
175 | } | ||
176 | |||
177 | static void __exit ixp4xx_spkr_exit(void) | ||
178 | { | ||
179 | platform_driver_unregister(&ixp4xx_spkr_platform_driver); | ||
180 | } | ||
181 | |||
182 | module_init(ixp4xx_spkr_init); | ||
183 | module_exit(ixp4xx_spkr_exit); | ||