iio: st-sensors: add support for lis3lv02d accelerometer
[cascardo/linux.git] / drivers / iio / accel / st_accel_i2c.c
index c7246bd..6b720c1 100644 (file)
 
 #ifdef CONFIG_OF
 static const struct of_device_id st_accel_of_match[] = {
+       {
+               .compatible = "st,lis3lv02dl-accel",
+               .data = LIS3LV02DL_ACCEL_DEV_NAME,
+       },
        {
                .compatible = "st,lsm303dlh-accel",
                .data = LSM303DLH_ACCEL_DEV_NAME,