+ powermac-combined-fixes-for-backlight-code-fix.patch added to -mm tree

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

 



The patch titled

     powermac-combined-fixes-for-backlight-code-fix

has been added to the -mm tree.  Its filename is

     powermac-combined-fixes-for-backlight-code-fix.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: powermac-combined-fixes-for-backlight-code-fix
From: Andrew Morton <akpm@xxxxxxxx>


include/asm/backlight.h:24: warning: function declaration isn't a prototype
include/asm/backlight.h:25: warning: function declaration isn't a prototype

Cc: Michael Hanselmann <linux-kernel@xxxxxxxxx>
Cc: Aristeu S. Rozanski F. <aris@xxxxxxxxxx>
Cc: Rene Nussbaumer <linux-kernel@xxxxxxxxxxxxxxxxxxxxx>
Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 include/asm/backlight.h |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff -puN include/asm/backlight.h~powermac-combined-fixes-for-backlight-code-fix include/asm/backlight.h
--- a/include/asm/backlight.h~powermac-combined-fixes-for-backlight-code-fix
+++ a/include/asm/backlight.h
@@ -21,8 +21,14 @@ extern int pmac_backlight_curve_lookup(s
 extern int pmac_has_backlight_type(const char *type);
 
 extern void pmac_backlight_key(int direction);
-static inline void pmac_backlight_key_up() { pmac_backlight_key(0); }
-static inline void pmac_backlight_key_down() { pmac_backlight_key(1); }
+static inline void pmac_backlight_key_up(void)
+{
+	pmac_backlight_key(0);
+}
+static inline void pmac_backlight_key_down(void)
+{
+	pmac_backlight_key(1);
+}
 
 extern int pmac_backlight_set_legacy_brightness(int brightness);
 extern int pmac_backlight_get_legacy_brightness(void);
_

Patches currently in -mm which might be from akpm@xxxxxxxx are

origin.patch
dont-select-config_hotplug.patch
x86_64-e820c-needs-pgtableh.patch
count_vm_events-fix.patch
add-computone-intelliport-plus-serial-hotplug-support.patch
add-specialix-io8-card-support-hotplug-support.patch
fadvise-remove-dead-comments.patch
vt-remove-vt-specific-declarations-and-definitions-from.patch
tty-remove-include-of-screen_infoh-from-ttyh.patch
md-include-sector-number-in-messages-about-corrected-read-errors.patch
md-oops-workaround.patch
powermac-combined-fixes-for-backlight-code-fix.patch
fdpic-move-roundup-into-linux-kernelh.patch
get_cmos_time-locking-fix.patch
swsusp-warning-fix.patch
uml-timer-initialization-cleanup.patch
uml-move-_kernc-files-fix.patch
char-rtc-handle-memory-mapped-chips-properly.patch
fix-weird-logic-in-alloc_fdtable.patch
led-class-support-for-soekris-net48xx.patch
checklist-update.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