diff options
| author | Daniel Palmer <daniel@0x0f.com> | 2021-09-13 20:29:13 +0900 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-10-17 11:05:53 +0100 |
| commit | 3b3870646642c2a22d2c4d5602559b3842e0fb99 (patch) | |
| tree | 3dc7c40f9f1380ecab926b36f40490960f04bb14 /tools/perf/scripts/python | |
| parent | iio: ep93xx: Make use of the helper function devm_platform_ioremap_resource() (diff) | |
| download | linux-3b3870646642c2a22d2c4d5602559b3842e0fb99.tar.gz linux-3b3870646642c2a22d2c4d5602559b3842e0fb99.zip | |
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: Daniel Palmer <daniel@0x0f.com>
Acked-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Link: https://lore.kernel.org/r/20210913112913.2148026-1-daniel@0x0f.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
