aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorMatt Ranostay <[email protected]>2022-10-20 23:30:00 +0800
committerJiri Kosina <[email protected]>2022-10-21 13:44:05 +0200
commit3d74c9eca1a2bda03e45f18d13154ac3e0dfba85 (patch)
tree3a32bd88231ed80539285d2550c9e459f2f947dc /tools/perf/util/c++/clang.cpp
parente91fc483552df10291f9efac5dd9241ca129f2a4 (diff)
HID: mcp2221: correct undefined references when CONFIG_GPIOLIB isn't defined
Singular #ifdef IS_REACHABLE(CONFIG_GPIOLIB) weren't covering all the gpiolib functions that were being referenced. Update the code regions that are commented out when CONFIG_GPIOLIB isn't enabled to avoid errors. Fixes: 960f9df7c620 ("HID: mcp2221: add ADC/DAC support via iio subsystem") Signed-off-by: Matt Ranostay <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions