commit | 13fcfbb6c5bbd7aee7e9980313dc29469357c5cd | [log] [tgz] |
---|---|---|
author | Rui Miguel Silva <rui.silva@linaro.org> | Fri Aug 14 13:58:18 2015 +0100 |
committer | Greg Kroah-Hartman <gregkh@google.com> | Fri Aug 14 14:41:06 2015 -0700 |
tree | f98bcb57c363cae66fead5d8f96b2ad530ede047 | |
parent | dc366f8e397c41ba582821e24abdc2bc4ae80a47 [diff] |
greybus: makefile: add needed config options for lights Add a function to check kernel versions and append the necessary options to support LEDS_CLASS, LEDS_CLASS_FLASH and V4L2_FLASH_LED_CLASS depending of the kernel version. Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>