Re: [PATCH 1/3] regulator: Fix build error for ab8500

From: Linus Walleij
Date: Tue Apr 10 2012 - 04:06:28 EST


On Tue, Apr 10, 2012 at 7:47 AM, Axel Lin <axel.lin@xxxxxxxxx> wrote:

> Fix below build errors which is introduced by commit c172708
> "regulator: core: Use a struct to pass in regulator runtime configuration".
>
>  CC      drivers/regulator/ab8500.o
> drivers/regulator/ab8500.c: In function 'ab8500_regulator_probe':
> drivers/regulator/ab8500.c:783: error: invalid type argument of '->' (have 'struct regulator_config')
> drivers/regulator/ab8500.c:784: error: invalid type argument of '->' (have 'struct regulator_config')
> drivers/regulator/ab8500.c:785: error: invalid type argument of '->' (have 'struct regulator_config')
> make[2]: *** [drivers/regulator/ab8500.o] Error 1
> make[1]: *** [drivers/regulator] Error 2
> make: *** [drivers] Error 2
>
> Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>

Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Thanks Axel,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/