Searched hist:"0 fe1402069812f0887877b26471d7a04bc985ced" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/iio/accel/ |
H A D | mma7660.c | diff 0fe1402069812f0887877b26471d7a04bc985ced Sun Sep 19 09:26:16 CEST 2021 Daniel Palmer <daniel@0x0f.com> iio: accel: mma7660: Mark acpi match table as maybe unused
When building kernels without ACPI support the table is declared but is not used because ACPI_PTR() turns it into a NULL.
Add the __maybe_unused attribute to stop the compiler whining.
Signed-off-by: Daniel Palmer <daniel@0x0f.com> Link: https://lore.kernel.org/r/20210919072616.3849723-1-daniel@0x0f.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
|