diff options
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/88pm860x_battery.c | 2 | ||||
-rw-r--r-- | drivers/power/88pm860x_charger.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/88pm860x_battery.c b/drivers/power/88pm860x_battery.c index 5e905f3db4bf..beed5ecf75e1 100644 --- a/drivers/power/88pm860x_battery.c +++ b/drivers/power/88pm860x_battery.c | |||
@@ -125,7 +125,7 @@ struct ccnt { | |||
125 | * State of Charge. | 125 | * State of Charge. |
126 | * The first number is mAh(=3.6C), and the second number is percent point. | 126 | * The first number is mAh(=3.6C), and the second number is percent point. |
127 | */ | 127 | */ |
128 | int array_soc[][2] = { | 128 | static int array_soc[][2] = { |
129 | {4170, 100}, {4154, 99}, {4136, 98}, {4122, 97}, {4107, 96}, | 129 | {4170, 100}, {4154, 99}, {4136, 98}, {4122, 97}, {4107, 96}, |
130 | {4102, 95}, {4088, 94}, {4081, 93}, {4070, 92}, {4060, 91}, | 130 | {4102, 95}, {4088, 94}, {4081, 93}, {4070, 92}, {4060, 91}, |
131 | {4053, 90}, {4044, 89}, {4035, 88}, {4028, 87}, {4019, 86}, | 131 | {4053, 90}, {4044, 89}, {4035, 88}, {4028, 87}, {4019, 86}, |
diff --git a/drivers/power/88pm860x_charger.c b/drivers/power/88pm860x_charger.c index 4fd7614ee839..2dbeb1460901 100644 --- a/drivers/power/88pm860x_charger.c +++ b/drivers/power/88pm860x_charger.c | |||
@@ -632,7 +632,7 @@ static int pm860x_init_charger(struct pm860x_charger_info *info) | |||
632 | return 0; | 632 | return 0; |
633 | } | 633 | } |
634 | 634 | ||
635 | struct pm860x_irq_desc { | 635 | static struct pm860x_irq_desc { |
636 | const char *name; | 636 | const char *name; |
637 | irqreturn_t (*handler)(int irq, void *data); | 637 | irqreturn_t (*handler)(int irq, void *data); |
638 | } pm860x_irq_descs[] = { | 638 | } pm860x_irq_descs[] = { |