diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-02-02 13:15:32 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-02 13:21:51 +0100 |
commit | 156650083f7d6fa04e580bb148dbb6f9a70c7e1a (patch) | |
tree | 0e1acea0a308f98230c1a6bcb7f0c20a537eefbd | |
parent | 284a4e3ab55c11d73f2f4110184a0f1ad5b40d28 (diff) | |
download | linux-stable-156650083f7d6fa04e580bb148dbb6f9a70c7e1a.tar.gz linux-stable-156650083f7d6fa04e580bb148dbb6f9a70c7e1a.tar.bz2 linux-stable-156650083f7d6fa04e580bb148dbb6f9a70c7e1a.zip |
staging: bcm2835: don't mark 'bcm2835_v4l2_debug' as static
This one unfortunately slipped through my own build testing, my patch
caused a new build error:
bcm2835-camera.c:53:12: error: static declaration of 'bcm2835_v4l2_debug' follows non-static declaration
We want the symbol to be global as it is indeed used in more than one
file and declared 'extern' in a header.
Fixes: 757b9bd074 ("staging: bcm2835: mark all symbols as 'static'")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/media/platform/bcm2835/bcm2835-camera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/platform/bcm2835/bcm2835-camera.c b/drivers/staging/media/platform/bcm2835/bcm2835-camera.c index ced8eb5de0f0..ca15a698e018 100644 --- a/drivers/staging/media/platform/bcm2835/bcm2835-camera.c +++ b/drivers/staging/media/platform/bcm2835/bcm2835-camera.c @@ -50,7 +50,7 @@ MODULE_AUTHOR("Vincent Sanders"); MODULE_LICENSE("GPL"); MODULE_VERSION(BM2835_MMAL_VERSION); -static int bcm2835_v4l2_debug; +int bcm2835_v4l2_debug; module_param_named(debug, bcm2835_v4l2_debug, int, 0644); MODULE_PARM_DESC(bcm2835_v4l2_debug, "Debug level 0-2"); |