[merged] drivers-video-backlight-apple_blc-include-header-for-exported-symbol-prototypes.patch removed from -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 removed from the -mm tree.  Its filename was
     drivers-video-backlight-apple_blc-include-header-for-exported-symbol-prototypes.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

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

[akpm@xxxxxxxxxxxxxxxxxxxx: fix resulting build error]
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 +
 include/linux/apple_bl.h           |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

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;
 
diff -puN include/linux/apple_bl.h~drivers-video-backlight-apple_blc-include-header-for-exported-symbol-prototypes include/linux/apple_bl.h
--- a/include/linux/apple_bl.h~drivers-video-backlight-apple_blc-include-header-for-exported-symbol-prototypes
+++ a/include/linux/apple_bl.h
@@ -5,7 +5,7 @@
 #ifndef _LINUX_APPLE_BL_H
 #define _LINUX_APPLE_BL_H
 
-#ifdef CONFIG_BACKLIGHT_APPLE
+#if defined(CONFIG_BACKLIGHT_APPLE) || defined(CONFIG_BACKLIGHT_APPLE_MODULE)
 
 extern int apple_bl_register(void);
 extern void apple_bl_unregister(void);
_

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

origin.patch
linux-next.patch
init-disable-sparse-checking-of-the-mounto-source-files.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