diff options
| author | Michael Scott <[email protected]> | 2016-06-21 16:41:46 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-06-23 11:50:58 -0700 |
| commit | c13a206f7e44d8bb207512dfe58677674e514833 (patch) | |
| tree | 74e1ff4ce0ae3741d4c52e0a7f52faa53137670b /tools/perf/scripts/python | |
| parent | 2d533cf16bffc579b03f8e376b2f01f09a092aeb (diff) | |
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions