diff options
Diffstat (limited to 'drivers/media/video/fsl-viu.c')
-rw-r--r-- | drivers/media/video/fsl-viu.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/fsl-viu.c b/drivers/media/video/fsl-viu.c index 27cb197d0bd6..27e3e0c0b219 100644 --- a/drivers/media/video/fsl-viu.c +++ b/drivers/media/video/fsl-viu.c | |||
@@ -1661,18 +1661,7 @@ static struct platform_driver viu_of_platform_driver = { | |||
1661 | }, | 1661 | }, |
1662 | }; | 1662 | }; |
1663 | 1663 | ||
1664 | static int __init viu_init(void) | 1664 | module_platform_driver(viu_of_platform_driver); |
1665 | { | ||
1666 | return platform_driver_register(&viu_of_platform_driver); | ||
1667 | } | ||
1668 | |||
1669 | static void __exit viu_exit(void) | ||
1670 | { | ||
1671 | platform_driver_unregister(&viu_of_platform_driver); | ||
1672 | } | ||
1673 | |||
1674 | module_init(viu_init); | ||
1675 | module_exit(viu_exit); | ||
1676 | 1665 | ||
1677 | MODULE_DESCRIPTION("Freescale Video-In(VIU)"); | 1666 | MODULE_DESCRIPTION("Freescale Video-In(VIU)"); |
1678 | MODULE_AUTHOR("Hongjun Chen"); | 1667 | MODULE_AUTHOR("Hongjun Chen"); |