]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/video/hecubafb.c
Merge remote-tracking branch 'fbdev/for-next'
[karo-tx-linux.git] / drivers / video / hecubafb.c
index 59d23181fdb0f768c927fb38d7a60a257471331e..702b599dc3d61e4ec4debfdcf22adbcd4484dd58 100644 (file)
@@ -305,19 +305,7 @@ static struct platform_driver hecubafb_driver = {
                .name   = "hecubafb",
        },
 };
-
-static int __init hecubafb_init(void)
-{
-       return platform_driver_register(&hecubafb_driver);
-}
-
-static void __exit hecubafb_exit(void)
-{
-       platform_driver_unregister(&hecubafb_driver);
-}
-
-module_init(hecubafb_init);
-module_exit(hecubafb_exit);
+module_platform_driver(hecubafb_driver);
 
 MODULE_DESCRIPTION("fbdev driver for Hecuba/Apollo controller");
 MODULE_AUTHOR("Jaya Kumar");