+ drivers-video-backlight-apple_blc-include-header-for-exported-symbol-prototypes.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: drivers/video/backlight/apple_bl.c: include header for exported symbol prototypes
has been added to the -mm tree.  Its filename is
     drivers-video-backlight-apple_blc-include-header-for-exported-symbol-prototypes.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: H Hartley Sweeten <hartleys@xxxxxxxxxxxxxxxxxxx>
Subject: drivers/video/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?

Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx>
Cc: Richard Purdie <rpurdie@xxxxxxxxx>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@xxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/video/backlight/apple_bl.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/video/backlight/apple_bl.c~drivers-video-backlight-apple_blc-include-header-for-exported-symbol-prototypes drivers/video/backlight/apple_bl.c
--- a/drivers/video/backlight/apple_bl.c~drivers-video-backlight-apple_blc-include-header-for-exported-symbol-prototypes
+++ a/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;
 
_
Subject: Subject: drivers/video/backlight/apple_bl.c: include header for exported symbol prototypes

Patches currently in -mm which might be from hartleys@xxxxxxxxxxxxxxxxxxx are

linux-next.patch
drivers-video-backlight-apple_blc-include-header-for-exported-symbol-prototypes.patch
init-disable-sparse-checking-of-the-mounto-source-files.patch
drivers-rtc-rtc-ep93xxc-convert-to-use-module_platform_driver.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux