diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-09-17 19:02:32 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-09-23 20:23:23 +0100 |
commit | e09f56f3f09638a0f0120be81352378ed1727431 (patch) | |
tree | 1c44970d9a073bc831e92b31d98f64b4f4a9979d /drivers/iio | |
parent | b2a768949c4906d87fd0c65b39752e599b5a1860 (diff) | |
download | op-kernel-dev-e09f56f3f09638a0f0120be81352378ed1727431.zip op-kernel-dev-e09f56f3f09638a0f0120be81352378ed1727431.tar.gz |
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>
Diffstat (limited to 'drivers/iio')
-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 28b8748..86e9e11 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[] = { { .compatible = "maxim,max5821" }, { } }; +MODULE_DEVICE_TABLE(of, max5821_of_match); static struct i2c_driver max5821_driver = { .driver = { |