Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
drivers
/
mfd
/
max8997.c
diff --git
a/kernel/drivers/mfd/max8997.c
b/kernel/drivers/mfd/max8997.c
index
595364e
..
156ed6f
100644
(file)
--- 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 },
{},
};
{ .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)
#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",
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),
},
.pm = &max8997_pm,
.of_match_table = of_match_ptr(max8997_pmic_dt_match),
},