Commit 3a2c2002 authored by Stefan Wahren's avatar Stefan Wahren Committed by Greg Kroah-Hartman

staging: bcm2835-camera: fix module autoloading

In order to make the module bcm2835-camera load automatically, we need to
add a module alias.

Fixes: 4bebb031 ("staging/bcm2835-camera: Set ourselves up as a platform driver.")
Signed-off-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: default avatarNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Reviewed-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7566f39d
...@@ -47,6 +47,7 @@ MODULE_DESCRIPTION("Broadcom 2835 MMAL video capture"); ...@@ -47,6 +47,7 @@ MODULE_DESCRIPTION("Broadcom 2835 MMAL video capture");
MODULE_AUTHOR("Vincent Sanders"); MODULE_AUTHOR("Vincent Sanders");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_VERSION(BM2835_MMAL_VERSION); MODULE_VERSION(BM2835_MMAL_VERSION);
MODULE_ALIAS("platform:bcm2835-camera");
int bcm2835_v4l2_debug; int bcm2835_v4l2_debug;
module_param_named(debug, bcm2835_v4l2_debug, int, 0644); module_param_named(debug, bcm2835_v4l2_debug, int, 0644);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment