diff options
author | Nathan Chancellor <[email protected]> | 2019-06-21 13:20:43 -0700 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2019-06-25 16:06:23 +0200 |
commit | 3fe2f17c0ed5ca1a1ed6291499067256dd338f66 (patch) | |
tree | 181bbc53ef4af76d1b34be4022938566adb5a0f7 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | cf75b8f2cd8f1f9beb64c2fa2eb93a7c265b59c1 (diff) |
pinctrl: qcom: sdm845: Fix CONFIG preprocessor guard
Clang warns when CONFIG_ACPI is unset:
drivers/pinctrl/qcom/pinctrl-sdm845.c:1320:5: warning: 'CONFIG_ACPI' is
not defined, evaluates to 0 [-Wundef]
#if CONFIG_ACPI
^
1 warning generated.
Use ifdef instead of if to resolve this.
Fixes: a229105d7a1e ("pinctrl: qcom: sdm845: Provide ACPI support")
Link: https://github.com/ClangBuiltLinux/linux/issues/569
Signed-off-by: Nathan Chancellor <[email protected]>
Reviewed-by: Nick Desaulniers <[email protected]>
Acked-by: Lee Jones <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions