diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-09-17 13:02:32 -0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-09-23 15:23:23 -0400 |
commit | e09f56f3f09638a0f0120be81352378ed1727431 (patch) | |
tree | 1c44970d9a073bc831e92b31d98f64b4f4a9979d | |
parent | b2a768949c4906d87fd0c65b39752e599b5a1860 (diff) |
iio: dac: max5821: Fix module autoload for OF platform driver
This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-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 28b8748ea824..86e9e112f554 100644 --- a/drivers/iio/dac/max5821.c +++ b/drivers/iio/dac/max5821.c | |||
@@ -387,6 +387,7 @@ static const struct of_device_id max5821_of_match[] = { | |||
387 | { .compatible = "maxim,max5821" }, | 387 | { .compatible = "maxim,max5821" }, |
388 | { } | 388 | { } |
389 | }; | 389 | }; |
390 | MODULE_DEVICE_TABLE(of, max5821_of_match); | ||
390 | 391 | ||
391 | static struct i2c_driver max5821_driver = { | 392 | static struct i2c_driver max5821_driver = { |
392 | .driver = { | 393 | .driver = { |