projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e09f56f
)
iio: adc: twl6030-gpadc: Fix module autoload for OF platform driver
author
Luis de Bethencourt
<luis@debethencourt.com>
Thu, 17 Sep 2015 17:02:00 +0000
(19:02 +0200)
committer
Jonathan Cameron
<jic23@kernel.org>
Wed, 23 Sep 2015 19:23:24 +0000
(20:23 +0100)
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>
drivers/iio/adc/twl6030-gpadc.c
patch
|
blob
|
history
diff --git
a/drivers/iio/adc/twl6030-gpadc.c
b/drivers/iio/adc/twl6030-gpadc.c
index df12c57e6ce07a700d211b81c9b5d3c9c15ff2d3..becbb0aef232b92f88c9443c3cdeed07308afd05 100644
(file)
--- 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)
{