diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2017-03-15 05:44:59 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-03-19 11:56:26 +0100 |
commit | 7373340367d8546910128ac301bd2c0d47e71e85 (patch) | |
tree | cc051c90fd155d1af73e5f9848ae3ac3376148a7 /drivers/iio/dac | |
parent | iio: light: apds9960: Add OF device ID table (diff) | |
download | linux-7373340367d8546910128ac301bd2c0d47e71e85.tar.xz linux-7373340367d8546910128ac301bd2c0d47e71e85.zip |
iio: dac: max5821: Set .of_match_table to OF device ID table
The driver has a OF device ID table but the struct i2c_driver
.of_match_table field is not set.
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/dac')
-rw-r--r-- | drivers/iio/dac/max5821.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/dac/max5821.c b/drivers/iio/dac/max5821.c index 86e9e112f554..193fac3059a3 100644 --- a/drivers/iio/dac/max5821.c +++ b/drivers/iio/dac/max5821.c @@ -392,6 +392,7 @@ MODULE_DEVICE_TABLE(of, max5821_of_match); static struct i2c_driver max5821_driver = { .driver = { .name = "max5821", + .of_match_table = max5821_of_match, .pm = MAX5821_PM_OPS, }, .probe = max5821_probe, |