regulator: Staticise of_get_fixed_voltage_config()
PATCH 1/1 regulator: Staticise of_get_fixed_voltage_config()
It is not used outside this driver so no need to make the symbol global.
Signed-off-by Axel Lin <[email protected]>
--- drivers/regulator/fixed.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/regulator/fixed.c +2 -1
@@ -51,7 +51,8 @@ struct fixed_voltage_data {* tree node, returns a pointer to the populated structure of NULL if memory * alloc fails. */ -struct fixed_voltage_config *of_get_fixed_voltage_config (struct device *dev) +static struct fixed_voltage_config * +of_get_fixed_voltage_config (struct device *dev) {struct fixed_voltage_config *config;struct device_node *np = dev->of_node;
Signature · 1 line
1.7.5.4
Mark Brown
AppliedQuoted 3 lines · Axel Lin
It is not used outside this driver so no need to make the symbol global.
Signed-off-by Axel Lin <[email protected]>
Applied, thanks.