aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/video/jz4740_fb.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/video/jz4740_fb.c b/drivers/video/jz4740_fb.c
index 3f99dcb28b09..87790e9644d0 100644
--- a/drivers/video/jz4740_fb.c
+++ b/drivers/video/jz4740_fb.c
@@ -798,18 +798,7 @@ static struct platform_driver jzfb_driver = {
798 .pm = JZFB_PM_OPS, 798 .pm = JZFB_PM_OPS,
799 }, 799 },
800}; 800};
801 801module_platform_driver(jzfb_driver);
802static int __init jzfb_init(void)
803{
804 return platform_driver_register(&jzfb_driver);
805}
806module_init(jzfb_init);
807
808static void __exit jzfb_exit(void)
809{
810 platform_driver_unregister(&jzfb_driver);
811}
812module_exit(jzfb_exit);
813 802
814MODULE_LICENSE("GPL"); 803MODULE_LICENSE("GPL");
815MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>"); 804MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>");