diff options
Diffstat (limited to 'drivers/tty/serial/vr41xx_siu.c')
-rw-r--r-- | drivers/tty/serial/vr41xx_siu.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/tty/serial/vr41xx_siu.c b/drivers/tty/serial/vr41xx_siu.c index 3beb6ab4fa68..83148e79ca13 100644 --- a/drivers/tty/serial/vr41xx_siu.c +++ b/drivers/tty/serial/vr41xx_siu.c | |||
@@ -961,18 +961,7 @@ static struct platform_driver siu_device_driver = { | |||
961 | }, | 961 | }, |
962 | }; | 962 | }; |
963 | 963 | ||
964 | static int __init vr41xx_siu_init(void) | 964 | module_platform_driver(siu_device_driver); |
965 | { | ||
966 | return platform_driver_register(&siu_device_driver); | ||
967 | } | ||
968 | |||
969 | static void __exit vr41xx_siu_exit(void) | ||
970 | { | ||
971 | platform_driver_unregister(&siu_device_driver); | ||
972 | } | ||
973 | |||
974 | module_init(vr41xx_siu_init); | ||
975 | module_exit(vr41xx_siu_exit); | ||
976 | 965 | ||
977 | MODULE_LICENSE("GPL"); | 966 | MODULE_LICENSE("GPL"); |
978 | MODULE_ALIAS("platform:SIU"); | 967 | MODULE_ALIAS("platform:SIU"); |