Re: [PATCH] mfd: Select MFD_CORE if TPS6105X driver is configured

From: Linus Walleij
Date: Thu Mar 24 2011 - 18:03:33 EST


On Thu, Mar 24, 2011 at 8:12 PM, Guenter Roeck
<guenter.roeck@xxxxxxxxxxxx> wrote:

> The TPS61050/61052 driver uses MFD core code, yet does not specify the
> dependency in Kconfig. If it is the only MFD driver configured, compilation
> fails with
>
> ERROR: "mfd_add_devices" [drivers/mfd/tps6105x.ko] undefined!
> ERROR: "mfd_remove_devices" [drivers/mfd/tps6105x.ko] undefined!
>
> Fix the problem by adding "select MFD_CORE" to the respective Kconfig entry.
>
> Signed-off-by: Guenter Roeck <guenter.roeck@xxxxxxxxxxxx>

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

Thanks Günter,
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/