diff options
Diffstat (limited to 'drivers/uio/uio_pdrv.c')
-rw-r--r-- | drivers/uio/uio_pdrv.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/uio/uio_pdrv.c b/drivers/uio/uio_pdrv.c index ff5059517351..72d3646c7365 100644 --- a/drivers/uio/uio_pdrv.c +++ b/drivers/uio/uio_pdrv.c | |||
@@ -104,17 +104,7 @@ static struct platform_driver uio_pdrv = { | |||
104 | }, | 104 | }, |
105 | }; | 105 | }; |
106 | 106 | ||
107 | static int __init uio_pdrv_init(void) | 107 | module_platform_driver(uio_pdrv); |
108 | { | ||
109 | return platform_driver_register(&uio_pdrv); | ||
110 | } | ||
111 | |||
112 | static void __exit uio_pdrv_exit(void) | ||
113 | { | ||
114 | platform_driver_unregister(&uio_pdrv); | ||
115 | } | ||
116 | module_init(uio_pdrv_init); | ||
117 | module_exit(uio_pdrv_exit); | ||
118 | 108 | ||
119 | MODULE_AUTHOR("Uwe Kleine-Koenig"); | 109 | MODULE_AUTHOR("Uwe Kleine-Koenig"); |
120 | MODULE_DESCRIPTION("Userspace I/O platform driver"); | 110 | MODULE_DESCRIPTION("Userspace I/O platform driver"); |