Skip to contentSkip to conversation

backlight: apple_bl.c: include header for exported symbol prototypes

PATCH New H Hartley Sweeten 1 participant 1 message May 3, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 backlight: apple_bl.c: include header for exported symbol prototypes

Include the header to pickup the exported symbol prototype.

Quites 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?

Cc Richard Purdie <[email protected]>
Cc Florian Tobias Schandinat <[email protected]>

---

drivers/video/backlight/apple_bl.c +1 -0
index a523b25..ef5ca0d 100644
@@ -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;