Skip to content
Commit 3b387064 authored by Daniel Palmer's avatar Daniel Palmer Committed by Jonathan Cameron
Browse files

iio: imu: inv_mpu6050: 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: default avatarDaniel Palmer <daniel@0x0f.com>
Acked-by: default avatarJean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Link: https://lore.kernel.org/r/20210913112913.2148026-1-daniel@0x0f.com


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent f27d1e76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment