Merge tag 'for-linus-4.3-rc0b-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...
[firefly-linux-kernel-4.4.55.git] / drivers / mfd / max8997.c
index 8cf7a015cfe501ddf3ce52c72abd6f45fdde579f..d3cfa9cf5c8f903e83c80957112b6220ab0d253e 100644 (file)
@@ -51,7 +51,7 @@ static const struct mfd_cell max8997_devs[] = {
 };
 
 #ifdef CONFIG_OF
-static struct of_device_id max8997_pmic_dt_match[] = {
+static const struct of_device_id max8997_pmic_dt_match[] = {
        { .compatible = "maxim,max8997-pmic", .data = (void *)TYPE_MAX8997 },
        {},
 };
@@ -508,7 +508,6 @@ static const struct dev_pm_ops max8997_pm = {
 static struct i2c_driver max8997_i2c_driver = {
        .driver = {
                   .name = "max8997",
-                  .owner = THIS_MODULE,
                   .pm = &max8997_pm,
                   .of_match_table = of_match_ptr(max8997_pmic_dt_match),
        },