Skip to content

Commit b662748

Browse files
Yang Yingliangbroonie
authored andcommitted
regulator: tps65219: change tps65219_regulator_irq_types to static
tps65219_regulator_irq_types is only used in tps65219-regulator.c now, change it to static. Signed-off-by: Yang Yingliang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 57919f4 commit b662748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/regulator/tps65219-regulator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ struct tps65219_regulator_irq_type {
3030
unsigned long event;
3131
};
3232

33-
struct tps65219_regulator_irq_type tps65219_regulator_irq_types[] = {
33+
static struct tps65219_regulator_irq_type tps65219_regulator_irq_types[] = {
3434
{ "LDO3_SCG", "LDO3", "short circuit to ground", REGULATOR_EVENT_REGULATION_OUT },
3535
{ "LDO3_OC", "LDO3", "overcurrent", REGULATOR_EVENT_OVER_CURRENT },
3636
{ "LDO3_UV", "LDO3", "undervoltage", REGULATOR_EVENT_UNDER_VOLTAGE },

0 commit comments

Comments
 (0)