diff --git a/drivers/regulator/max1586.c b/drivers/regulator/max1586.c index 5c04a7159baaab3012ed29861ffdaa3e4ed5987e..86db310d5304ad00dadcd605c6f9a9deb63a652c 100644 --- a/drivers/regulator/max1586.c +++ b/drivers/regulator/max1586.c @@ -159,7 +159,7 @@ static struct regulator_desc max1586_reg[] = { }, }; -int of_get_max1586_platform_data(struct device *dev, +static int of_get_max1586_platform_data(struct device *dev, struct max1586_platform_data *pdata) { struct max1586_subdev_data *sub;