aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Gemborowski <[email protected]>2016-06-06 15:51:50 +0200
committerWolfram Sang <[email protected]>2016-06-09 22:38:16 +0200
commit9f05e6219023116b59f6495e8c4d4ba352dd5fea (patch)
treedcda675196fb8c11fe2666ce7de1b536a7ad4dc1
parent2e9328493f89a5a06ea0ecb0b7763d61930a682a (diff)
i2c: mux: reg: Provide of_match_table
of_match_table was not filled which prevents device to be instantiated from device tree node. Signed-off-by: Lukasz Gemborowski <[email protected]> Reviewed-by: Alexander Sverdlin <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
-rw-r--r--drivers/i2c/muxes/i2c-mux-reg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/muxes/i2c-mux-reg.c b/drivers/i2c/muxes/i2c-mux-reg.c
index 6773cadf7c9f..26e7c5187a58 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),
},
};