diff options
Diffstat (limited to 'drivers/tty/serial/sc26xx.c')
-rw-r--r-- | drivers/tty/serial/sc26xx.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/tty/serial/sc26xx.c b/drivers/tty/serial/sc26xx.c index 75038ad2b242..e0b4b0a30a5a 100644 --- a/drivers/tty/serial/sc26xx.c +++ b/drivers/tty/serial/sc26xx.c | |||
@@ -736,19 +736,7 @@ static struct platform_driver sc26xx_driver = { | |||
736 | }, | 736 | }, |
737 | }; | 737 | }; |
738 | 738 | ||
739 | static int __init sc26xx_init(void) | 739 | module_platform_driver(sc26xx_driver); |
740 | { | ||
741 | return platform_driver_register(&sc26xx_driver); | ||
742 | } | ||
743 | |||
744 | static void __exit sc26xx_exit(void) | ||
745 | { | ||
746 | platform_driver_unregister(&sc26xx_driver); | ||
747 | } | ||
748 | |||
749 | module_init(sc26xx_init); | ||
750 | module_exit(sc26xx_exit); | ||
751 | |||
752 | 740 | ||
753 | MODULE_AUTHOR("Thomas Bogendörfer"); | 741 | MODULE_AUTHOR("Thomas Bogendörfer"); |
754 | MODULE_DESCRIPTION("SC681/SC2692 serial driver"); | 742 | MODULE_DESCRIPTION("SC681/SC2692 serial driver"); |