From: Axel Lin Date: Sun, 27 Nov 2011 02:35:08 +0000 (+0800) Subject: regulator: Staticise of_get_fixed_voltage_config() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bc91396b0b0a0d1300e151264b81f010c72a8bbf;p=mv-sheeva.git 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 Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/fixed.c b/drivers/regulator/fixed.c index 2997f11af90..703c26b756d 100644 --- a/drivers/regulator/fixed.c +++ b/drivers/regulator/fixed.c @@ -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;