diff options
Diffstat (limited to 'drivers/uio/uio_pdrv_genirq.c')
-rw-r--r-- | drivers/uio/uio_pdrv_genirq.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/uio/uio_pdrv_genirq.c b/drivers/uio/uio_pdrv_genirq.c index 25de302009a1..b98371d93a92 100644 --- a/drivers/uio/uio_pdrv_genirq.c +++ b/drivers/uio/uio_pdrv_genirq.c | |||
@@ -273,18 +273,7 @@ static struct platform_driver uio_pdrv_genirq = { | |||
273 | }, | 273 | }, |
274 | }; | 274 | }; |
275 | 275 | ||
276 | static int __init uio_pdrv_genirq_init(void) | 276 | module_platform_driver(uio_pdrv_genirq); |
277 | { | ||
278 | return platform_driver_register(&uio_pdrv_genirq); | ||
279 | } | ||
280 | |||
281 | static void __exit uio_pdrv_genirq_exit(void) | ||
282 | { | ||
283 | platform_driver_unregister(&uio_pdrv_genirq); | ||
284 | } | ||
285 | |||
286 | module_init(uio_pdrv_genirq_init); | ||
287 | module_exit(uio_pdrv_genirq_exit); | ||
288 | 277 | ||
289 | MODULE_AUTHOR("Magnus Damm"); | 278 | MODULE_AUTHOR("Magnus Damm"); |
290 | MODULE_DESCRIPTION("Userspace I/O platform driver with generic IRQ handling"); | 279 | MODULE_DESCRIPTION("Userspace I/O platform driver with generic IRQ handling"); |