Re: [PATCH] PM / Domains: Make pm_genpd_init() available to modules

From: Geert Uytterhoeven
Date: Fri Aug 14 2015 - 03:56:37 EST


On Thu, Aug 13, 2015 at 8:21 AM, Rajendra Nayak <rnayak@xxxxxxxxxxxxxx> wrote:
> Export symbol pm_genpd_init so it can be used in loadable
> kernel modules
>
> Signed-off-by: Rajendra Nayak <rnayak@xxxxxxxxxxxxxx>
> Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>

Assuming you're aware of the consequences:
- Modular PM Domain drivers don't work for "critical" devices where the
driver is started from *OF_DECLARE(),
- This may depend on "PM / Domains: Return -EPROBE_DEFER if we fail to
init or turn-on domain" in pm/linux-next
https://git.kernel.org/cgit/linux/kernel/git/rafael/linux-pm.git/commit/?h=linux-next&id=311fa6adf92c5110057daa439fdaff012864aa2b

Acked-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
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/