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>
This commit is contained in:
Lukasz Gemborowski 2016-06-06 15:51:50 +02:00 committed by Wolfram Sang
parent 2e9328493f
commit 9f05e62190
1 changed files with 1 additions and 0 deletions

View File

@ -260,6 +260,7 @@ static struct platform_driver i2c_mux_reg_driver = {
.remove = i2c_mux_reg_remove, .remove = i2c_mux_reg_remove,
.driver = { .driver = {
.name = "i2c-mux-reg", .name = "i2c-mux-reg",
.of_match_table = of_match_ptr(i2c_mux_reg_of_match),
}, },
}; };