iio: accel: mma7660: Mark acpi match table as maybe unused
authorDaniel Palmer <daniel@0x0f.com>
Sun, 19 Sep 2021 07:26:16 +0000 (16:26 +0900)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 17 Oct 2021 10:05:54 +0000 (11:05 +0100)
commit0fe1402069812f0887877b26471d7a04bc985ced
tree29dadec4f2011f27302ab2a957a3793e35cc01c6
parent2b025c92cdae1df5e254040de4410b4837f662df
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>
drivers/iio/accel/mma7660.c