mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 17:59:33 +07:00
2e8bd34a16
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> |
||
---|---|---|
.. | ||
adis16201.c | ||
adis16209.c | ||
adxl345_core.c | ||
adxl345_i2c.c | ||
adxl345_spi.c | ||
adxl345.h | ||
adxl372_i2c.c | ||
adxl372_spi.c | ||
adxl372.c | ||
adxl372.h | ||
bma180.c | ||
bma220_spi.c | ||
bma400_core.c | ||
bma400_i2c.c | ||
bma400.h | ||
bmc150-accel-core.c | ||
bmc150-accel-i2c.c | ||
bmc150-accel-spi.c | ||
bmc150-accel.h | ||
cros_ec_accel_legacy.c | ||
da280.c | ||
da311.c | ||
dmard06.c | ||
dmard09.c | ||
dmard10.c | ||
hid-sensor-accel-3d.c | ||
Kconfig | ||
kxcjk-1013.c | ||
kxsd9-i2c.c | ||
kxsd9-spi.c | ||
kxsd9.c | ||
kxsd9.h | ||
Makefile | ||
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 | ||
mxc6255.c | ||
sca3000.c | ||
ssp_accel_sensor.c | ||
st_accel_buffer.c | ||
st_accel_core.c | ||
st_accel_i2c.c | ||
st_accel_spi.c | ||
st_accel.h | ||
stk8ba50.c | ||
stk8312.c |