aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/stmpe-i2c.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/mfd/stmpe-i2c.c b/drivers/mfd/stmpe-i2c.c
index 947a06a1845f..c734dc33fbfd 100644
--- a/drivers/mfd/stmpe-i2c.c
+++ b/drivers/mfd/stmpe-i2c.c
@@ -82,11 +82,13 @@ static const struct i2c_device_id stmpe_i2c_id[] = {
82MODULE_DEVICE_TABLE(i2c, stmpe_id); 82MODULE_DEVICE_TABLE(i2c, stmpe_id);
83 83
84static struct i2c_driver stmpe_i2c_driver = { 84static struct i2c_driver stmpe_i2c_driver = {
85 .driver.name = "stmpe-i2c", 85 .driver = {
86 .driver.owner = THIS_MODULE, 86 .name = "stmpe-i2c",
87 .owner = THIS_MODULE,
87#ifdef CONFIG_PM 88#ifdef CONFIG_PM
88 .driver.pm = &stmpe_dev_pm_ops, 89 .pm = &stmpe_dev_pm_ops,
89#endif 90#endif
91 },
90 .probe = stmpe_i2c_probe, 92 .probe = stmpe_i2c_probe,
91 .remove = __devexit_p(stmpe_i2c_remove), 93 .remove = __devexit_p(stmpe_i2c_remove),
92 .id_table = stmpe_i2c_id, 94 .id_table = stmpe_i2c_id,