mfd: palmas: Add MODULE_DEVICE_TABLE for of_device table
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 26 Sep 2013 13:33:49 +0000 (19:03 +0530)
committerLee Jones <lee.jones@linaro.org>
Wed, 23 Oct 2013 15:21:34 +0000 (16:21 +0100)
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/palmas.c

index 9607d24..3b63139 100644 (file)
@@ -368,6 +368,7 @@ static const struct of_device_id of_palmas_match_tbl[] = {
        },
        { },
 };
+MODULE_DEVICE_TABLE(of, of_palmas_match_tbl);
 
 static int palmas_i2c_probe(struct i2c_client *i2c,
                            const struct i2c_device_id *id)