summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2010-02-24 08:38:01 +0100
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-03-03 15:49:27 +0100
commit24c29020bac8a35729e1f58270b3622abc2941a2 (patch)
tree412aa0bd7ee59073451a3006a7122d9ac7355fb2 /drivers
parentRegulators: fixed - annotate probe and remove methods (diff)
downloadlinux-24c29020bac8a35729e1f58270b3622abc2941a2.tar.xz
linux-24c29020bac8a35729e1f58270b3622abc2941a2.zip
Regulators: twl-regulator - mark probe function as __devinit
Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/regulator/twl-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/twl-regulator.c b/drivers/regulator/twl-regulator.c
index 5f394bb8701f..9729d760fb4d 100644
--- a/drivers/regulator/twl-regulator.c
+++ b/drivers/regulator/twl-regulator.c
@@ -531,7 +531,7 @@ static struct twlreg_info twl_regs[] = {
TWL6030_FIXED_LDO(VUSB, 0x70, 3300, 18, 0, 0x21)
};
-static int twlreg_probe(struct platform_device *pdev)
+static int __devinit twlreg_probe(struct platform_device *pdev)
{
int i;
struct twlreg_info *info;