diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-08-26 08:19:41 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-08-28 23:04:07 +0200 |
commit | b662748ff2e8ff99daabdfbd928270f25f29a9fd (patch) | |
tree | 59ec9b5c6a5af29c41d89b18b4d6bccfcfb49795 /drivers/regulator | |
parent | regulator: core: Don't err if allow-set-load but no allowed-modes (diff) | |
download | linux-b662748ff2e8ff99daabdfbd928270f25f29a9fd.tar.xz linux-b662748ff2e8ff99daabdfbd928270f25f29a9fd.zip |
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>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/tps65219-regulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/tps65219-regulator.c b/drivers/regulator/tps65219-regulator.c index ab16e6665625..e202c8e13c7f 100644 --- a/drivers/regulator/tps65219-regulator.c +++ b/drivers/regulator/tps65219-regulator.c @@ -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 }, |