aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/ab8500-debugfs.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-08-23 08:07:42 -0400
committerLee Jones <lee.jones@linaro.org>2013-09-02 05:22:33 -0400
commit8455eaee41e78e9996c25c888cda9c6b597228b7 (patch)
tree37823075f278474de27e6718765f5ed99b266e16 /drivers/mfd/ab8500-debugfs.c
parent6746f2321c93f570386345c47c3aa262d17787c2 (diff)
mfd: ab8500-debugfs: Staticize local variables
Local variables referenced only in this file are made static. Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/ab8500-debugfs.c')
-rw-r--r--drivers/mfd/ab8500-debugfs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mfd/ab8500-debugfs.c b/drivers/mfd/ab8500-debugfs.c
index 7d1f1b08fc4b..a0afa64b471b 100644
--- a/drivers/mfd/ab8500-debugfs.c
+++ b/drivers/mfd/ab8500-debugfs.c
@@ -159,7 +159,7 @@ static struct hwreg_cfg hwreg_cfg = {
159 159
160static struct ab8500_prcmu_ranges *debug_ranges; 160static struct ab8500_prcmu_ranges *debug_ranges;
161 161
162struct ab8500_prcmu_ranges ab8500_debug_ranges[AB8500_NUM_BANKS] = { 162static struct ab8500_prcmu_ranges ab8500_debug_ranges[AB8500_NUM_BANKS] = {
163 [0x0] = { 163 [0x0] = {
164 .num_ranges = 0, 164 .num_ranges = 0,
165 .range = NULL, 165 .range = NULL,
@@ -488,7 +488,7 @@ struct ab8500_prcmu_ranges ab8500_debug_ranges[AB8500_NUM_BANKS] = {
488 }, 488 },
489}; 489};
490 490
491struct ab8500_prcmu_ranges ab8505_debug_ranges[AB8500_NUM_BANKS] = { 491static struct ab8500_prcmu_ranges ab8505_debug_ranges[AB8500_NUM_BANKS] = {
492 [0x0] = { 492 [0x0] = {
493 .num_ranges = 0, 493 .num_ranges = 0,
494 .range = NULL, 494 .range = NULL,
@@ -847,7 +847,7 @@ struct ab8500_prcmu_ranges ab8505_debug_ranges[AB8500_NUM_BANKS] = {
847 }, 847 },
848}; 848};
849 849
850struct ab8500_prcmu_ranges ab8540_debug_ranges[AB8500_NUM_BANKS] = { 850static struct ab8500_prcmu_ranges ab8540_debug_ranges[AB8500_NUM_BANKS] = {
851 [AB8500_M_FSM_RANK] = { 851 [AB8500_M_FSM_RANK] = {
852 .num_ranges = 1, 852 .num_ranges = 1,
853 .range = (struct ab8500_reg_range[]) { 853 .range = (struct ab8500_reg_range[]) {
@@ -1377,7 +1377,7 @@ void ab8500_dump_all_banks(struct device *dev)
1377 1377
1378/* Space for 500 registers. */ 1378/* Space for 500 registers. */
1379#define DUMP_MAX_REGS 700 1379#define DUMP_MAX_REGS 700
1380struct ab8500_register_dump 1380static struct ab8500_register_dump
1381{ 1381{
1382 u8 bank; 1382 u8 bank;
1383 u8 reg; 1383 u8 reg;