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 коммит произвёл Wolfram Sang
Родитель 2e9328493f
Коммит 9f05e62190
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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),
}, },
}; };