projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc78145
)
mfd: Staticise non-exported symbols in MAX8998 driver
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Thu, 20 Jan 2011 21:47:31 +0000
(21:47 +0000)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 23 Mar 2011 09:41:43 +0000
(10:41 +0100)
No need to have them in the global namespace and sparse complains.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/max8998.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/max8998.c
b/drivers/mfd/max8998.c
index bbfe867326027f514b00645da907f5e31e96fabc..c00214257da28c97e80e27c30cedf3ac86ac7cfe 100644
(file)
--- a/
drivers/mfd/max8998.c
+++ b/
drivers/mfd/max8998.c
@@
-233,7
+233,7
@@
struct max8998_reg_dump {
u8 val;
};
#define SAVE_ITEM(x) { .addr = (x), .val = 0x0, }
-struct max8998_reg_dump max8998_dump[] = {
+st
atic st
ruct max8998_reg_dump max8998_dump[] = {
SAVE_ITEM(MAX8998_REG_IRQM1),
SAVE_ITEM(MAX8998_REG_IRQM2),
SAVE_ITEM(MAX8998_REG_IRQM3),
@@
-298,7
+298,7
@@
static int max8998_restore(struct device *dev)
return 0;
}
-const struct dev_pm_ops max8998_pm = {
+
static
const struct dev_pm_ops max8998_pm = {
.suspend = max8998_suspend,
.resume = max8998_resume,
.freeze = max8998_freeze,
This page took
0.024949 seconds
and
5
git commands to generate.