projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93ae965
)
i2c: rk3x: Fix module autoload for OF platform driver
author
Luis de Bethencourt
<luis@debethencourt.com>
Tue, 20 Oct 2015 14:16:29 +0000
(15:16 +0100)
committer
Wolfram Sang
<wsa@the-dreams.de>
Tue, 20 Oct 2015 16:15:03 +0000
(18:15 +0200)
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: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-rk3x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/i2c/busses/i2c-rk3x.c
b/drivers/i2c/busses/i2c-rk3x.c
index 72e97e306bd925f8421dfa4be3979c1d25667d9c..c1935ebd6a9c38971b6539cc1d1ae03dfc276d17 100644
(file)
--- a/
drivers/i2c/busses/i2c-rk3x.c
+++ b/
drivers/i2c/busses/i2c-rk3x.c
@@
-858,6
+858,7
@@
static const struct of_device_id rk3x_i2c_match[] = {
{ .compatible = "rockchip,rk3288-i2c", .data = (void *)&soc_data[2] },
{},
};
+MODULE_DEVICE_TABLE(of, rk3x_i2c_match);
static int rk3x_i2c_probe(struct platform_device *pdev)
{