summaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorFrank Rowand <frank.rowand@sony.com>2020-02-27 22:16:29 -0600
committerRob Herring <robh@kernel.org>2020-03-02 11:32:30 -0600
commit485bb19d0b3eb3b679211800e3fd61e8b33ebb20 (patch)
tree0ade1c53588712561b3b0ed5cb98cc2a9decbf51 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentc1507cf227824827135bc7df5522ce0b3c50be73 (diff)
downloadlinux-485bb19d0b3eb3b679211800e3fd61e8b33ebb20.tar.bz2
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 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions