aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorLee Jones <[email protected]>2020-07-13 15:49:30 +0100
committerLinus Walleij <[email protected]>2020-07-16 15:58:12 +0200
commitde4334f7da83a169b984d617af0d7eb383aef5a5 (patch)
tree95441aebe1729d016a7855e2673d3ace2088c127 /scripts/gdb/linux/tasks.py
parent192b752e0e4653b0c136d3ed5e588e16021778aa (diff)
pinctrl: pinctrl-amd: Do not define 'struct acpi_device_id' when !CONFIG_ACPI
Since ACPI_PTR() is used to NULLify the value when !CONFIG_ACPI, 'struct amd_gpio_acpi_match' becomes defined but unused. Fixes the following W=1 kernel build warning(s): drivers/pinctrl/pinctrl-amd.c:959:36: warning: ‘amd_gpio_acpi_match’ defined but not used [-Wunused-const-variable=] 959 | static const struct acpi_device_id amd_gpio_acpi_match[] = { Signed-off-by: Lee Jones <[email protected]> Cc: Ken Xue <[email protected]> Cc: "Wu, Jeff" <[email protected]> Cc: Nehal Shah <[email protected]> Cc: Sundar S K <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions