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?

[[email protected]: fix resulting build error]
Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Florian Tobias Schandinat <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
H Hartley Sweeten 2012-05-29 15:07:14 -07:00 • committed by Linus Torvalds
commit 1615d210db
2 changed files with 2 additions and 1 deletions

View file

@ -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;