2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-23 18:14:04 +08:00

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 <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220826061941.1814723-1-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Yang Yingliang 2022-08-26 14:19:41 +08:00 committed by Mark Brown
parent 57919f4a2e
commit b662748ff2
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -30,7 +30,7 @@ struct tps65219_regulator_irq_type {
unsigned long event;
};
struct tps65219_regulator_irq_type tps65219_regulator_irq_types[] = {
static struct tps65219_regulator_irq_type tps65219_regulator_irq_types[] = {
{ "LDO3_SCG", "LDO3", "short circuit to ground", REGULATOR_EVENT_REGULATION_OUT },
{ "LDO3_OC", "LDO3", "overcurrent", REGULATOR_EVENT_OVER_CURRENT },
{ "LDO3_UV", "LDO3", "undervoltage", REGULATOR_EVENT_UNDER_VOLTAGE },