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:
Родитель
2e9328493f
Коммит
9f05e62190
|
@ -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),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче