Skip to contentSkip to conversation

i2c: Provide of_match_table to i2c-mux-reg

PATCH Applied Lukasz Gemborowski 2 participants 2 messages Jun 6, 2016 – Jun 9, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: Provide of_match_table to i2c-mux-reg

of_match_table was not filled which prevents device to be instantiated from device tree node.

---
 drivers/i2c/muxes/i2c-mux-reg.c | 1 +
 1 file changed, 1 insertion(+)
drivers/i2c/muxes/i2c-mux-reg.c +1 -0
index 6773cad..26e7c51 100644
@@ -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),
 	},
 };
 
Signature · 1 line
2.5.0