projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6d005a
)
mfd: atmel-hlcdc: Fix module autoload for OF platform driver
author
Luis de Bethencourt
<luis@debethencourt.com>
Thu, 17 Sep 2015 18:15:44 +0000
(20:15 +0200)
committer
Lee Jones
<lee.jones@linaro.org>
Mon, 26 Oct 2015 14:48:59 +0000
(14:48 +0000)
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: Lee Jones <lee.jones@linaro.org>
drivers/mfd/atmel-hlcdc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/atmel-hlcdc.c
b/drivers/mfd/atmel-hlcdc.c
index 3fff6b5d0426830833f98f708837f33c299100ef..06c205868573e8d7d7b98e1c142156a2cc572454 100644
(file)
--- a/
drivers/mfd/atmel-hlcdc.c
+++ b/
drivers/mfd/atmel-hlcdc.c
@@
-148,6
+148,7
@@
static const struct of_device_id atmel_hlcdc_match[] = {
{ .compatible = "atmel,sama5d4-hlcdc" },
{ /* sentinel */ },
};
+MODULE_DEVICE_TABLE(of, atmel_hlcdc_match);
static struct platform_driver atmel_hlcdc_driver = {
.probe = atmel_hlcdc_probe,