/* * This header provides constants for pca9532 LED bindings. * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ #ifndef _DT_BINDINGS_LEDS_PCA9532_H #define _DT_BINDINGS_LEDS_PCA9532_H #define PCA9532_TYPE_NONE 0 #define PCA9532_TYPE_LED 1 #define PCA9532_TYPE_N2100_BEEP 2 #define PCA9532_TYPE_GPIO 3 #define PCA9532_LED_TIMER2 4 #endif /* _DT_BINDINGS_LEDS_PCA9532_H */ >
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2016-04-28 17:29:42 -0400
committerMichal Marek <mmarek@suse.com>2016-05-10 17:24:15 +0200
commitf110e0fec89935879a76aebe1726dce3fcb6ab13 (patch)
tree04c8cca7d820a8ee1fd798041d4568aa830d8497
parente72e2dfe7c16ffbfbabf9cb24adc6d9f93a4fe37 (diff)
kbuild: fix ksym_dep_filter when multiple EXPORT_SYMBOL() on the same line
In kernel/cgroup.c there is: #define SUBSYS(_x) \ DEFINE_STATIC_KEY_TRUE(_x ## _cgrp_subsys_enabled_key); \ DEFINE_STATIC_KEY_TRUE(_x ## _cgrp_subsys_on_dfl_key); \ EXPORT_SYMBOL_GPL(_x ## _cgrp_subsys_enabled_key); \ EXPORT_SYMBOL_GPL(_x ## _cgrp_subsys_on_dfl_key); The expansion of this macro causes multiple EXPORT_SYMBOL_GPL() instances to appear on the same preprocessor line output, confusing the sed script expecting only one of them per line. Unfortunately this can't be fixed nicely in the sed script as sed's regexp can't do non greedy matching. Fix this by turning any semicolon into a line break before filtering. Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Michal Marek <mmarek@suse.com>