diff options
author | 2020-02-27 22:16:29 -0600 | |
---|---|---|
committer | 2020-03-02 11:32:30 -0600 | |
commit | 485bb19d0b3eb3b679211800e3fd61e8b33ebb20 (patch) | |
tree | 0ade1c53588712561b3b0ed5cb98cc2a9decbf51 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dt-bindings: power: apmu: Convert to json-schema (diff) | |
download | linux-dev-485bb19d0b3eb3b679211800e3fd61e8b33ebb20.tar.xz linux-dev-485bb19d0b3eb3b679211800e3fd61e8b33ebb20.zip |
of: unittest: make gpio overlay test dependent on CONFIG_OF_GPIO
Randconfig testing found compile errors in drivers/of/unittest.c if
CONFIG_GPIOLIB is not set because CONFIG_OF_GPIO depends on
CONFIG_GPIOLIB. Make the gpio overlay test depend on CONFIG_OF_GPIO.
No code is modified, it is only moved to a different location and
protected with #ifdef CONFIG_OF_GPIO. An empty
of_unittest_overlay_gpio() is added in the #else.
Fixes: f4056e705b2e ("of: unittest: add overlay gpio test to catch gpio hog problem")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Frank Rowand <frank.rowand@sony.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions