summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/rohm-bd79112.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/adc/rohm-bd79112.c')
-rw-r--r--drivers/iio/adc/rohm-bd79112.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/rohm-bd79112.c b/drivers/iio/adc/rohm-bd79112.c
index c4b0bec80794..2506fec7be84 100644
--- a/drivers/iio/adc/rohm-bd79112.c
+++ b/drivers/iio/adc/rohm-bd79112.c
@@ -529,7 +529,7 @@ static const struct of_device_id bd79112_of_match[] = {
MODULE_DEVICE_TABLE(of, bd79112_of_match);
static const struct spi_device_id bd79112_id[] = {
- { "bd79112" },
+ { .name = "bd79112" },
{ }
};
MODULE_DEVICE_TABLE(spi, bd79112_id);