From 8f6ed7f51ca39e1ca4b3850b52120dc39585f4fe Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Wed, 8 Jan 2014 02:00:00 +0100 Subject: [PATCH] backports: add prefix infront of led_blink_set() 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 --- 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 b8a9e2a8cd8d..6148040f322c 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); -- 2.30.2