diff options
author | Michael Scott | 2016-06-22 01:41:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2016-06-23 20:50:58 +0200 |
commit | c13a206f7e44d8bb207512dfe58677674e514833 (patch) | |
tree | 74e1ff4ce0ae3741d4c52e0a7f52faa53137670b /drivers/staging/greybus/operation.c | |
parent | greybus: ratelimit errors usually seen on unipro_reset (diff) | |
download | kernel-qcow2-linux-c13a206f7e44d8bb207512dfe58677674e514833.tar.gz kernel-qcow2-linux-c13a206f7e44d8bb207512dfe58677674e514833.tar.xz kernel-qcow2-linux-c13a206f7e44d8bb207512dfe58677674e514833.zip |
greybus: adjust kernel version check for led_sysfs_is_disabled
When building greybus against a 3.18 kernel the following error is generated:
light.c:205:9: error: implicit declaration of function 'led_sysfs_is_disabled'
[-Werror=implicit-function-declaration]
led_sysfs_is_disabled was not added until 3.19 kernel cycle
Verification:
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/include/linux/leds.h?h=linux-3.18.y
(no function led_sysfs_is_disabled defined here)
Testing Done:
- Successfully built greybus for 3.18 kernel
Signed-off-by: Michael Scott <michael.scott@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/operation.c')
0 files changed, 0 insertions, 0 deletions