diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-09-17 20:02:00 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-09-23 22:23:24 +0300 |
commit | 0df5a5488b6d157eabfdc0747c87c08bd7431a56 (patch) | |
tree | 81e5c9a26ae04de59a7c0ec1f0abeb31700c2160 | |
parent | e09f56f3f09638a0f0120be81352378ed1727431 (diff) | |
download | linux-0df5a5488b6d157eabfdc0747c87c08bd7431a56.tar.xz |
iio: adc: twl6030-gpadc: 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/adc/twl6030-gpadc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/twl6030-gpadc.c b/drivers/iio/adc/twl6030-gpadc.c index df12c57e6ce0..becbb0aef232 100644 --- a/drivers/iio/adc/twl6030-gpadc.c +++ b/drivers/iio/adc/twl6030-gpadc.c @@ -875,6 +875,7 @@ static const struct of_device_id of_twl6030_match_tbl[] = { }, { /* end */ } }; +MODULE_DEVICE_TABLE(of, of_twl6030_match_tbl); static int twl6030_gpadc_probe(struct platform_device *pdev) { |