Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
[firefly-linux-kernel-4.4.55.git] / drivers / mfd / max8998.c
index 592db06098e69eabeb08c506cb3409c6d2ff2ca9..a37cb7444b6e72db974dc2c254d5a9d994232bea 100644 (file)
@@ -132,7 +132,7 @@ int max8998_update_reg(struct i2c_client *i2c, u8 reg, u8 val, u8 mask)
 EXPORT_SYMBOL(max8998_update_reg);
 
 #ifdef CONFIG_OF
-static struct of_device_id max8998_dt_match[] = {
+static const struct of_device_id max8998_dt_match[] = {
        { .compatible = "maxim,max8998", .data = (void *)TYPE_MAX8998 },
        { .compatible = "national,lp3974", .data = (void *)TYPE_LP3974 },
        { .compatible = "ti,lp3974", .data = (void *)TYPE_LP3974 },