Re: [PATCH on mfd-regulator-power-v3.17] charger: max14577: Fix build breakage when compiled as module

From: Krzysztof Kozlowski
Date: Wed Sep 24 2014 - 10:38:33 EST


On Åro, 2014-09-24 at 15:35 +0100, Lee Jones wrote:
> On Wed, 24 Sep 2014, Krzysztof Kozlowski wrote:
>
> > The charger's module device table used the same name as regulator driver
> > causing a build break when charger was compiled as a module:
> >
> > drivers/power/max14577_charger.c:598:1: error: â__mod_platform__max14577_regulator_id_device_tableâ aliased to undefined symbol âmax14577_regulator_idâ
> > make[2]: *** [drivers/power/max14577_charger.o] Error 1
> >
> > Signed-off-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>
> > Reported-by: kbuild test robot <fengguang.wu@xxxxxxxxx>
> > ---
> > drivers/power/max14577_charger.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> I have fixed this up into the original set and re-sent the
> pull-request.

Great, thanks!

Best regards,
Krzysztof

--
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/