* [PATCH] i2c: Provide of_match_table to i2c-mux-reg
@ 2016-06-06 13:51 Lukasz Gemborowski
2016-06-09 20:39 ` Wolfram Sang
0 siblings, 1 reply; 2+ messages in thread
From: Lukasz Gemborowski @ 2016-06-06 13:51 UTC (permalink / raw)
To: peda, wsa, linux-i2c; +Cc: alexander.sverdlin
of_match_table was not filled which prevents device to be
instantiated from device tree node.
Signed-off-by: Lukasz Gemborowski <lukasz.gemborowski@nokia.com>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
---
drivers/i2c/muxes/i2c-mux-reg.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/i2c/muxes/i2c-mux-reg.c b/drivers/i2c/muxes/i2c-mux-reg.c
index 6773cad..26e7c51 100644
--- a/drivers/i2c/muxes/i2c-mux-reg.c
+++ b/drivers/i2c/muxes/i2c-mux-reg.c
@@ -260,6 +260,7 @@ static struct platform_driver i2c_mux_reg_driver = {
.remove = i2c_mux_reg_remove,
.driver = {
.name = "i2c-mux-reg",
+ .of_match_table = of_match_ptr(i2c_mux_reg_of_match),
},
};
--
2.5.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-09 20:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-06 13:51 [PATCH] i2c: Provide of_match_table to i2c-mux-reg Lukasz Gemborowski
2016-06-09 20:39 ` Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).