diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-01-20 16:47:31 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-03-23 05:41:43 -0400 |
commit | 44be0a40d8666d9f3acee2a329e50f925e32d8b0 (patch) | |
tree | 114732aed1ad83d5dc25a066b944a6648d01252d /drivers | |
parent | dc781454690d7e5857afd84845b6402e03493ee1 (diff) |
mfd: Staticise non-exported symbols in MAX8998 driver
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mfd/max8998.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/max8998.c b/drivers/mfd/max8998.c index bbfe86732602..c00214257da2 100644 --- a/drivers/mfd/max8998.c +++ b/drivers/mfd/max8998.c | |||
@@ -233,7 +233,7 @@ struct max8998_reg_dump { | |||
233 | u8 val; | 233 | u8 val; |
234 | }; | 234 | }; |
235 | #define SAVE_ITEM(x) { .addr = (x), .val = 0x0, } | 235 | #define SAVE_ITEM(x) { .addr = (x), .val = 0x0, } |
236 | struct max8998_reg_dump max8998_dump[] = { | 236 | static struct max8998_reg_dump max8998_dump[] = { |
237 | SAVE_ITEM(MAX8998_REG_IRQM1), | 237 | SAVE_ITEM(MAX8998_REG_IRQM1), |
238 | SAVE_ITEM(MAX8998_REG_IRQM2), | 238 | SAVE_ITEM(MAX8998_REG_IRQM2), |
239 | SAVE_ITEM(MAX8998_REG_IRQM3), | 239 | SAVE_ITEM(MAX8998_REG_IRQM3), |
@@ -298,7 +298,7 @@ static int max8998_restore(struct device *dev) | |||
298 | return 0; | 298 | return 0; |
299 | } | 299 | } |
300 | 300 | ||
301 | const struct dev_pm_ops max8998_pm = { | 301 | static const struct dev_pm_ops max8998_pm = { |
302 | .suspend = max8998_suspend, | 302 | .suspend = max8998_suspend, |
303 | .resume = max8998_resume, | 303 | .resume = max8998_resume, |
304 | .freeze = max8998_freeze, | 304 | .freeze = max8998_freeze, |