Re: [PATCH] mfd : dbx500 : fix compilation error

From: Linus Walleij
Date: Tue Apr 03 2012 - 17:29:38 EST


On Mon, Apr 2, 2012 at 5:55 PM, Daniel Lezcano
<daniel.lezcano@xxxxxxxxxx> wrote:

> The ux500 default config enables the db5500 and the db8500.
> The incoming cpuidle driver uses the 'prcmu_enable_wakeups'
> and the 'prcmu_set_power_state' functions but these ones
> are defined but not implemented for the db5500, leading to
> an unresolved symbol error at link time. In order to compile,
> we have to disable the db5500 support which is not acceptable
> for the default config.
>
> I noticed there are also some other functions which are
> defined but not implemented.
>
> This patch fix this by removing the functions definitions
> and move out of the config section the empty functions which
> are normally used when the DB550 config is disabled.
> Only the functions which are not implemented are concerned
> by this modification.
>
> Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>

Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Sam, please push this to the -rc series if you can.

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