]> git.baikalelectronics.ru Git - kernel.git/commit
staging: bcm2835: don't mark 'bcm2835_v4l2_debug' as static
authorArnd Bergmann <arnd@arndb.de>
Thu, 2 Feb 2017 12:15:32 +0000 (13:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Feb 2017 12:21:51 +0000 (13:21 +0100)
commita85de8e3e1d768f558639de21b73c7040aaeee8c
tree0e1acea0a308f98230c1a6bcb7f0c20a537eefbd
parent15e07a0f90b96dea87123133f3bb87a52caa448d
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: 6ce268c330 ("staging: bcm2835: mark all symbols as 'static'")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/platform/bcm2835/bcm2835-camera.c