diff options
Diffstat (limited to 'drivers/video/w100fb.c')
-rw-r--r-- | drivers/video/w100fb.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/video/w100fb.c b/drivers/video/w100fb.c index 2375e5bbf572..90a2e30272ad 100644 --- a/drivers/video/w100fb.c +++ b/drivers/video/w100fb.c | |||
@@ -1620,18 +1620,7 @@ static struct platform_driver w100fb_driver = { | |||
1620 | }, | 1620 | }, |
1621 | }; | 1621 | }; |
1622 | 1622 | ||
1623 | int __init w100fb_init(void) | 1623 | module_platform_driver(w100fb_driver); |
1624 | { | ||
1625 | return platform_driver_register(&w100fb_driver); | ||
1626 | } | ||
1627 | |||
1628 | void __exit w100fb_cleanup(void) | ||
1629 | { | ||
1630 | platform_driver_unregister(&w100fb_driver); | ||
1631 | } | ||
1632 | |||
1633 | module_init(w100fb_init); | ||
1634 | module_exit(w100fb_cleanup); | ||
1635 | 1624 | ||
1636 | MODULE_DESCRIPTION("ATI Imageon w100 framebuffer driver"); | 1625 | MODULE_DESCRIPTION("ATI Imageon w100 framebuffer driver"); |
1637 | MODULE_LICENSE("GPL"); | 1626 | MODULE_LICENSE("GPL"); |