summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLukasz Gemborowski <lukasz.gemborowski@nokia.com>2016-06-06 15:51:50 +0200
committerWolfram Sang <wsa@the-dreams.de>2016-06-09 22:38:16 +0200
commit9f05e6219023116b59f6495e8c4d4ba352dd5fea (patch)
treedcda675196fb8c11fe2666ce7de1b536a7ad4dc1 /drivers
parenti2c: mux: refer to i2c-mux.txt (diff)
downloadlinux-9f05e6219023116b59f6495e8c4d4ba352dd5fea.tar.xz
linux-9f05e6219023116b59f6495e8c4d4ba352dd5fea.zip
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 <lukasz.gemborowski@nokia.com> Reviewed-by: Alexander Sverdlin <alexander.sverdlin@nokia.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers')
-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),
},
};