diff options
| author | Hans de Goede <[email protected]> | 2020-04-01 19:53:36 +0000 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2020-04-01 20:05:29 +0000 |
| commit | c9c20ee3cfce924e7b2a8138df2d6958c500858a (patch) | |
| tree | 1915fd0568101f21540a5262e42cc7666eae2795 /scripts/gcc-plugins/gcc-common.h | |
| parent | dt-bindings: touchscreen: Convert edt-ft5x06 to json-schema (diff) | |
| download | kernel-c9c20ee3cfce924e7b2a8138df2d6958c500858a.tar.gz kernel-c9c20ee3cfce924e7b2a8138df2d6958c500858a.zip | |
Input: goodix - fix compilation when ACPI support is disabled
acpi_evaluate_object() and acpi_execute_simple_method() are not part of
the group of ACPI related functions which get stubbed by
include/linux/acpi.h when ACPI support is disabled, so the
IRQ_PIN_ACCESS_ACPI_METHOD handling code must be stubbed out.
For consistency use the same #if condition as which is used to replace
goodix_add_acpi_gpio_mappings with a stub.
Fixes: c5fca485320e ("Input: goodix - add support for controlling the IRQ pin through ACPI methods")
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/20200401014529.GL75430@dtor-ws
[dtor: stubbed out the ACPI method accessors]
Reviewed-by: Bastien Nocera <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions
