summaryrefslogtreecommitdiff
path: root/drivers/iio/dac/max22007.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/dac/max22007.c')
-rw-r--r--drivers/iio/dac/max22007.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/dac/max22007.c b/drivers/iio/dac/max22007.c
index d747901df5a3..e2c7e2ad37ba 100644
--- a/drivers/iio/dac/max22007.c
+++ b/drivers/iio/dac/max22007.c
@@ -464,7 +464,7 @@ static int max22007_probe(struct spi_device *spi)
}
static const struct spi_device_id max22007_id[] = {
- { "max22007" },
+ { .name = "max22007" },
{ }
};
MODULE_DEVICE_TABLE(spi, max22007_id);