projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dae8a96
)
mfd: Add terminating entry for i2c_device_id palmas table
author
Axel Lin
<axel.lin@gmail.com>
Mon, 21 May 2012 15:33:22 +0000
(23:33 +0800)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sun, 8 Jul 2012 22:16:07 +0000
(
00:16
+0200)
The i2c_device_id table is supposed to be zero-terminated.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/palmas.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/palmas.c
b/drivers/mfd/palmas.c
index 00c0aba7eba000de65742b04014419e0115c6eba..5d896b3522849bc81572667eb91a6f035450bb6f 100644
(file)
--- a/
drivers/mfd/palmas.c
+++ b/
drivers/mfd/palmas.c
@@
-472,6
+472,7
@@
static const struct i2c_device_id palmas_i2c_id[] = {
{ "twl6035", },
{ "twl6037", },
{ "tps65913", },
+ { /* end */ }
};
MODULE_DEVICE_TABLE(i2c, palmas_i2c_id);