diff options
author | Lukasz Gemborowski <lukasz.gemborowski@nokia.com> | 2016-06-06 15:51:50 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2016-06-09 22:38:16 +0200 |
commit | 9f05e6219023116b59f6495e8c4d4ba352dd5fea (patch) | |
tree | dcda675196fb8c11fe2666ce7de1b536a7ad4dc1 /drivers/i2c | |
parent | 2e9328493f89a5a06ea0ecb0b7763d61930a682a (diff) | |
download | linux-9f05e6219023116b59f6495e8c4d4ba352dd5fea.tar.bz2 |
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/i2c')
-rw-r--r-- | drivers/i2c/muxes/i2c-mux-reg.c | 1 |
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), }, }; |