diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2014-01-08 02:00:00 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2014-01-19 21:55:28 +0100 |
commit | 5fa34f6d96a64336a3941bc4b61138faadb73700 (patch) | |
tree | 75a860acbada5f344ee22fde74b1dd2c07579d38 | |
parent | aa7bfe4c67b6677b2f3cf35b3e4856cdedb7e452 (diff) |
backports: add prefix infront of led_blink_set()
Upstream commit: 8f6ed7f51ca39e1ca4b3850b52120dc39585f4fe
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>
-rw-r--r-- | backport/backport-include/linux/leds.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backport/backport-include/linux/leds.h b/backport/backport-include/linux/leds.h index b8a9e2a8..6148040f 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); |