aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/media-devnode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/media-devnode.c b/drivers/media/media-devnode.c
index 7b42ace419d9..421cf73858d3 100644
--- a/drivers/media/media-devnode.c
+++ b/drivers/media/media-devnode.c
@@ -312,7 +312,7 @@ static void __exit media_devnode_exit(void)
312 unregister_chrdev_region(media_dev_t, MEDIA_NUM_DEVICES); 312 unregister_chrdev_region(media_dev_t, MEDIA_NUM_DEVICES);
313} 313}
314 314
315module_init(media_devnode_init) 315subsys_initcall(media_devnode_init);
316module_exit(media_devnode_exit) 316module_exit(media_devnode_exit)
317 317
318MODULE_AUTHOR("Laurent Pinchart <laurent.pinchart@ideasonboard.com>"); 318MODULE_AUTHOR("Laurent Pinchart <laurent.pinchart@ideasonboard.com>");