aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/amifb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/amifb.c')
-rw-r--r--drivers/video/amifb.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/video/amifb.c b/drivers/video/amifb.c
index 7fa1bf823729..77cb4ffa1fe4 100644
--- a/drivers/video/amifb.c
+++ b/drivers/video/amifb.c
@@ -3788,19 +3788,7 @@ static struct platform_driver amifb_driver = {
3788 }, 3788 },
3789}; 3789};
3790 3790
3791static int __init amifb_init(void) 3791module_platform_driver_probe(amifb_driver, amifb_probe);
3792{
3793 return platform_driver_probe(&amifb_driver, amifb_probe);
3794}
3795
3796module_init(amifb_init);
3797
3798static void __exit amifb_exit(void)
3799{
3800 platform_driver_unregister(&amifb_driver);
3801}
3802
3803module_exit(amifb_exit);
3804 3792
3805MODULE_LICENSE("GPL"); 3793MODULE_LICENSE("GPL");
3806MODULE_ALIAS("platform:amiga-video"); 3794MODULE_ALIAS("platform:amiga-video");