Skip to contentSkip to conversation

+ input-route-kbd-leds-through-the-generic-leds-layer-fix.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Oct 30, 2013 Input drivers

lore
Share & tools
lore
#0 lore raw

Subject: + input-route-kbd-leds-through-the-generic-leds-layer-fix.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 30 Oct 2013 14:24:12 -0700

The patch titled
Subject: input: CONFIG_INPUT_LEDS stubs should be static inline
has been added to the -mm tree. Its filename is
input-route-kbd-leds-through-the-generic-leds-layer-fix.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/input-route-kbd-leds-through-the-generic-leds-layer-fix.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/input-route-kbd-leds-through-the-generic-leds-layer-fix.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: John Crispin <[email protected]>
Subject: input: CONFIG_INPUT_LEDS stubs should be static inline

The following commit breaks compile when CONFIG_INPUT_LEDS is not selected.

commit 0eb6ee2db914ebb594cb9bc8ae97e3c362c3475a
Author: Samuel Thibault <[email protected]>
Date: Wed Oct 30 11:45:16 2013 +1100
input: route kbd LEDs through the generic LEDs layer

Cc Ralf Baechle <[email protected]>
Cc Samuel Thibault <[email protected]>
Cc Dmitry Torokhov <[email protected]>

---

 include/linux/input.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/input.h renamed from include/linux/input.h~input-route-kbd-leds-through-the-generic-leds-layer-fix +2 -2
diff -puN include/linux/input.h~input-route-kbd-leds-through-the-generic-leds-layer-fix include/linux/input.h
@@ -540,12 +540,12 @@ void input_led_disconnect(struct input_d
 
 #else
 
-int input_led_connect(struct input_dev *dev)
+static inline int input_led_connect(struct input_dev *dev)
 {
 	return 0;
 }
 
-void input_led_disconnect(struct input_dev *dev)
+static inline void input_led_disconnect(struct input_dev *dev)
 {
 }
 

_

Patches currently in -mm which might be from [email protected] are

input-route-kbd-leds-through-the-generic-leds-layer-fix.patch linux-next.patch