lkml.org 
[lkml]   [2010]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 04/14] Regulators: twl-regulator - mark probe function as __devinit
    Date
    Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
    ---

    drivers/regulator/twl-regulator.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/regulator/twl-regulator.c b/drivers/regulator/twl-regulator.c
    index 5f394bb..9729d76 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;


    \
     
     \ /
      Last update: 2010-02-24 08:41    [W:2.556 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site