All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] backports: add prefix infront of led_blink_set()
@ 2014-01-08  1:02 Hauke Mehrtens
  0 siblings, 0 replies; only message in thread
From: Hauke Mehrtens @ 2014-01-08  1:02 UTC (permalink / raw)
  To: mcgrof; +Cc: backports, Hauke Mehrtens

led_blink_set() is also exported by the RedHat 6.5 kernel and collides
with backports when loading the compat.ko module. This fixes the
problem by prefixing the symbol.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---

This should also go into backports-3.12

 backport/backport-include/linux/leds.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/backport/backport-include/linux/leds.h b/backport/backport-include/linux/leds.h
index b8a9e2a..6148040 100644
--- a/backport/backport-include/linux/leds.h
+++ b/backport/backport-include/linux/leds.h
@@ -28,6 +28,7 @@
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37) && \
     !defined(CPTCFG_BACKPORT_BUILD_LEDS)
+#define led_blink_set LINUX_BACKPORT(led_blink_set)
 extern void led_blink_set(struct led_classdev *led_cdev,
 			  unsigned long *delay_on,
 			  unsigned long *delay_off);
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-01-08  1:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-08  1:02 [PATCH] backports: add prefix infront of led_blink_set() Hauke Mehrtens

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.