diff options
author | Lee Jones <[email protected]> | 2020-06-30 14:33:44 +0100 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2020-07-08 09:24:08 +0200 |
commit | 2f9bce5f38684cd10533ac41d8dd395a611cc8c5 (patch) | |
tree | 09d131ccee7b4fa36b3085e61e2d3fb880e6a9b7 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 6ac2de953bb317c4dc2edaa56e025724fd159165 (diff) |
gpio: gpio-mlxbf2: Tell the compiler that ACPI functions may not be use
... as is the case when !CONFIG_ACPI.
Fixes the following W=1 kernel build warning:
drivers/gpio/gpio-mlxbf2.c:312:36: warning: ‘mlxbf2_gpio_acpi_match’ defined but not used [-Wunused-const-variable=]
312 | static const struct acpi_device_id mlxbf2_gpio_acpi_match[] = {
| ^~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Lee Jones <[email protected]>
Reviewed-by: Asmaa Mnebhi <[email protected]>
Cc: Asmaa Mnebhi <[email protected]>
Link: https://lore.kernel.org/r/[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