i2c: mux: reg: Provide of_match_table
authorLukasz Gemborowski <lukasz.gemborowski@nokia.com>
Mon, 6 Jun 2016 13:51:50 +0000 (15:51 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 9 Jun 2016 20:38:16 +0000 (22:38 +0200)
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>
drivers/i2c/muxes/i2c-mux-reg.c

index 6773cadf7c9fdd09248bae67e5d0197e16e97496..26e7c5187a589b473857fd991acdd60a1bdb4609 100644 (file)
@@ -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),
        },
 };