diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2017-03-15 01:44:59 -0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-03-19 10:56:26 +0000 |
commit | 7373340367d8546910128ac301bd2c0d47e71e85 (patch) | |
tree | cc051c90fd155d1af73e5f9848ae3ac3376148a7 /drivers | |
parent | ae4e825b88666f27dcee8a85a7a0222c9d4dcd14 (diff) |
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')
-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, |