File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -105,15 +105,14 @@ static struct regmap_config bd70528_regmap = {
105
105
* register.
106
106
*/
107
107
108
- /* bit [0] - Shutdown register */
109
- unsigned int bit0_offsets [] = {0 }; /* Shutdown register */
110
- unsigned int bit1_offsets [] = {1 }; /* Power failure register */
111
- unsigned int bit2_offsets [] = {2 }; /* VR FAULT register */
112
- unsigned int bit3_offsets [] = {3 }; /* PMU register interrupts */
113
- unsigned int bit4_offsets [] = {4 , 5 }; /* Charger 1 and Charger 2 registers */
114
- unsigned int bit5_offsets [] = {6 }; /* RTC register */
115
- unsigned int bit6_offsets [] = {7 }; /* GPIO register */
116
- unsigned int bit7_offsets [] = {8 }; /* Invalid operation register */
108
+ static unsigned int bit0_offsets [] = {0 }; /* Shutdown */
109
+ static unsigned int bit1_offsets [] = {1 }; /* Power failure */
110
+ static unsigned int bit2_offsets [] = {2 }; /* VR FAULT */
111
+ static unsigned int bit3_offsets [] = {3 }; /* PMU interrupts */
112
+ static unsigned int bit4_offsets [] = {4 , 5 }; /* Charger 1 and Charger 2 */
113
+ static unsigned int bit5_offsets [] = {6 }; /* RTC */
114
+ static unsigned int bit6_offsets [] = {7 }; /* GPIO */
115
+ static unsigned int bit7_offsets [] = {8 }; /* Invalid operation */
117
116
118
117
static struct regmap_irq_sub_irq_map bd70528_sub_irq_offsets [] = {
119
118
REGMAP_IRQ_MAIN_REG_OFFSET (bit0_offsets ),
You can’t perform that action at this time.
0 commit comments