iio: accel: add support for LIS302DL variant
[sfrench/cifs-2.6.git] / drivers / iio / accel / st_accel_core.c
index 5c5da6fdb49029b0f1b34d0b4f9f54cd056f093e..673f3807f001c8c5a51a5e0b3f681d35c2cb528d 100644 (file)
@@ -444,6 +444,7 @@ static const struct st_sensor_settings st_accel_sensors_settings[] = {
                .wai_addr = ST_SENSORS_DEFAULT_WAI_ADDRESS,
                .sensors_supported = {
                        [0] = LIS331DL_ACCEL_DEV_NAME,
+                       [1] = LIS302DL_ACCEL_DEV_NAME,
                },
                .ch = (struct iio_chan_spec *)st_accel_8bit_channels,
                .odr = {