diff options
Diffstat (limited to 'drivers/video/amifb.c')
-rw-r--r-- | drivers/video/amifb.c | 14 |
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 | ||
3791 | static int __init amifb_init(void) | 3791 | module_platform_driver_probe(amifb_driver, amifb_probe); |
3792 | { | ||
3793 | return platform_driver_probe(&amifb_driver, amifb_probe); | ||
3794 | } | ||
3795 | |||
3796 | module_init(amifb_init); | ||
3797 | |||
3798 | static void __exit amifb_exit(void) | ||
3799 | { | ||
3800 | platform_driver_unregister(&amifb_driver); | ||
3801 | } | ||
3802 | |||
3803 | module_exit(amifb_exit); | ||
3804 | 3792 | ||
3805 | MODULE_LICENSE("GPL"); | 3793 | MODULE_LICENSE("GPL"); |
3806 | MODULE_ALIAS("platform:amiga-video"); | 3794 | MODULE_ALIAS("platform:amiga-video"); |