From: Lukasz Gemborowski Date: Mon, 6 Jun 2016 13:51:50 +0000 (+0200) Subject: i2c: mux: reg: Provide of_match_table X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9f05e6219023116b59f6495e8c4d4ba352dd5fea;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Reviewed-by: Alexander Sverdlin Signed-off-by: Wolfram Sang --- 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), }, };