Unverified Commit 7a67eb1d authored by YueHaibing's avatar YueHaibing Committed by Mark Brown
Browse files

regulator: of: Make regulator_of_get_init_node static



Fix sparse warning:

drivers/regulator/of_regulator.c:374:20:
 warning: symbol 'regulator_of_get_init_node' was not declared. Should it be static?

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent c9e48084
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -371,7 +371,8 @@ int of_regulator_match(struct device *dev, struct device_node *node,
}
EXPORT_SYMBOL_GPL(of_regulator_match);

struct device_node *regulator_of_get_init_node(struct device *dev,
static struct
device_node *regulator_of_get_init_node(struct device *dev,
					const struct regulator_desc *desc)
{
	struct device_node *search, *child;