These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / mfd / max8997.c
index 595364e..156ed6f 100644 (file)
@@ -55,6 +55,7 @@ static const struct of_device_id max8997_pmic_dt_match[] = {
        { .compatible = "maxim,max8997-pmic", .data = (void *)TYPE_MAX8997 },
        {},
 };
+MODULE_DEVICE_TABLE(of, max8997_pmic_dt_match);
 #endif
 
 int max8997_read_reg(struct i2c_client *i2c, u8 reg, u8 *dest)
@@ -508,7 +509,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),
        },