summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/mfd/max8997.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/mfd/max8997.c')
-rw-r--r--kernel/drivers/mfd/max8997.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/mfd/max8997.c b/kernel/drivers/mfd/max8997.c
index 595364ee1..156ed6f92 100644
--- a/kernel/drivers/mfd/max8997.c
+++ b/kernel/drivers/mfd/max8997.c
@@ -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),
},