summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-05-29 15:07:14 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-05-29 16:22:29 -0700
commit1615d210dbc9c67c38b66bcff53233452dbaae22 (patch)
tree06974bb5bef5fc3ac6e9c46ac47bcae4e2bbb363 /drivers/video
parentd54ad83f3d56228a42e1021b97fc52bfbad7d560 (diff)
downloadlinux-3.10-1615d210dbc9c67c38b66bcff53233452dbaae22.tar.gz
linux-3.10-1615d210dbc9c67c38b66bcff53233452dbaae22.tar.bz2
linux-3.10-1615d210dbc9c67c38b66bcff53233452dbaae22.zip
drivers/video/backlight/apple_bl.c: include header for exported symbol prototypes
Include the header to pickup the exported symbol prototype. Quiets the sparse warning: warning: symbol 'apple_bl_register' was not declared. Should it be static? warning: symbol 'apple_bl_unregister' was not declared. Should it be static? [akpm@linux-foundation.org: fix resulting build error] Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/backlight/apple_bl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/backlight/apple_bl.c b/drivers/video/backlight/apple_bl.c
index a523b255e12..ef5ca0d6cd2 100644
--- a/drivers/video/backlight/apple_bl.c
+++ b/drivers/video/backlight/apple_bl.c
@@ -25,6 +25,7 @@
#include <linux/pci.h>
#include <linux/acpi.h>
#include <linux/atomic.h>
+#include <linux/apple_bl.h>
static struct backlight_device *apple_backlight_device;