summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/hwmon/g762.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/hwmon/g762.c')
-rw-r--r--kernel/drivers/hwmon/g762.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/hwmon/g762.c b/kernel/drivers/hwmon/g762.c
index 9b55e673b..b96a2a9e4 100644
--- a/kernel/drivers/hwmon/g762.c
+++ b/kernel/drivers/hwmon/g762.c
@@ -582,6 +582,7 @@ static const struct of_device_id g762_dt_match[] = {
{ .compatible = "gmt,g763" },
{ },
};
+MODULE_DEVICE_TABLE(of, g762_dt_match);
/*
* Grab clock (a required property), enable it, get (fixed) clock frequency
@@ -1112,7 +1113,6 @@ static int g762_remove(struct i2c_client *client)
static struct i2c_driver g762_driver = {
.driver = {
.name = DRVNAME,
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(g762_dt_match),
},
.probe = g762_probe,