linux_dsm_epyc7002/drivers/iio/accel
Andy Shevchenko 2e8bd34a16 iio: accel: st_accel: Mark default_accel_pdata with __maybe_unused
Since we put static variable to a header file it's copied to each module
that includes the header. But not all of them are actually used it.

Mark default_accel_pdata with __maybe_unused to calm a compiler down:

In file included from drivers/iio/accel/st_accel_i2c.c:19:
drivers/iio/accel/st_accel.h:67:46: warning: ‘default_accel_pdata’ defined but not used [-Wunused-const-variable=]
   67 | static const struct st_sensors_platform_data default_accel_pdata = {
      |                                              ^~~~~~~~~~~~~~~~~~~
...

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2019-12-29 15:20:05 +00:00
..
adis16201.c
adis16209.c
adxl345_core.c
adxl345_i2c.c
adxl345_spi.c
adxl345.h
adxl372_i2c.c
adxl372_spi.c
adxl372.c iio: accel: adxl372: Perform a reset at start up 2019-10-09 19:11:25 +01:00
adxl372.h
bma180.c
bma220_spi.c
bma400_core.c iio: accel: bma400: basic regulator support 2019-12-29 15:20:02 +00:00
bma400_i2c.c iio: accel: Add driver for the BMA400 2019-12-29 15:20:02 +00:00
bma400.h iio: accel: bma400: basic regulator support 2019-12-29 15:20:02 +00:00
bmc150-accel-core.c iio: fix center temperature of bmc150-accel-core 2019-09-08 13:11:50 +01:00
bmc150-accel-i2c.c
bmc150-accel-spi.c
bmc150-accel.h
cros_ec_accel_legacy.c chrome platform changes for v5.4 2019-09-19 14:14:28 -07:00
da280.c
da311.c
dmard06.c
dmard09.c
dmard10.c
hid-sensor-accel-3d.c
Kconfig iio: accel: Add driver for the BMA400 2019-12-29 15:20:02 +00:00
kxcjk-1013.c iio: accel: kxcjk1013: Improve comments on KIOX010A and KIOX020A ACPI ids 2019-08-18 18:50:56 +01:00
kxsd9-i2c.c
kxsd9-spi.c
kxsd9.c
kxsd9.h
Makefile iio: accel: Add driver for the BMA400 2019-12-29 15:20:02 +00:00
mc3230.c
mma7455_core.c
mma7455_i2c.c
mma7455_spi.c
mma7455.h
mma7660.c
mma8452.c
mma9551_core.c
mma9551_core.h
mma9551.c
mma9553.c
mxc4005.c iio: mxc4005: Use device-managed APIs 2019-07-27 22:52:06 +01:00
mxc6255.c
sca3000.c
ssp_accel_sensor.c
st_accel_buffer.c iio:st_sensors: remove buffer allocation at each buffer enable 2019-08-11 09:26:04 +01:00
st_accel_core.c iio: st: Drop GPIO include 2019-10-27 15:55:45 +00:00
st_accel_i2c.c iio: accel: st_accel: Drop unnecessary #else branch for ACPI 2019-12-29 15:20:04 +00:00
st_accel_spi.c iio: move 3-wire spi initialization to st_sensors_spi 2019-07-27 22:52:06 +01:00
st_accel.h iio: accel: st_accel: Mark default_accel_pdata with __maybe_unused 2019-12-29 15:20:05 +00:00
stk8ba50.c
stk8312.c