summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLukasz Gemborowski <lukasz.gemborowski@nokia.com>2016-06-06 16:51:50 +0300
committerWolfram Sang <wsa@the-dreams.de>2016-06-09 23:38:16 +0300
commit9f05e6219023116b59f6495e8c4d4ba352dd5fea (patch)
treedcda675196fb8c11fe2666ce7de1b536a7ad4dc1 /drivers
parent2e9328493f89a5a06ea0ecb0b7763d61930a682a (diff)
downloadlinux-9f05e6219023116b59f6495e8c4d4ba352dd5fea.tar.xz
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),
},
};