diff options
-rw-r--r-- | drivers/iio/gyro/st_gyro_i2c.c | 1 | ||||
-rw-r--r-- | drivers/iio/gyro/st_gyro_spi.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/gyro/st_gyro_i2c.c b/drivers/iio/gyro/st_gyro_i2c.c index 97fd245400f..ff3e70ba105 100644 --- a/drivers/iio/gyro/st_gyro_i2c.c +++ b/drivers/iio/gyro/st_gyro_i2c.c @@ -77,6 +77,7 @@ static struct of_device_id st_gyro_dt_match[] = { { .compatible = "st,l3gd20h" }, { .compatible = "st,l3g4is-ui" }, { .compatible = "st,lsm330-gyro" }, + { }, }; #endif diff --git a/drivers/iio/gyro/st_gyro_spi.c b/drivers/iio/gyro/st_gyro_spi.c index b1e03cfc2ef..a28657cdab4 100644 --- a/drivers/iio/gyro/st_gyro_spi.c +++ b/drivers/iio/gyro/st_gyro_spi.c @@ -76,6 +76,7 @@ static struct of_device_id st_gyro_dt_match[] = { { .compatible = "st,l3gd20h" }, { .compatible = "st,l3g4is-ui" }, { .compatible = "st,lsm330-gyro" }, + { }, }; #endif |