* Re: [Linux-kernel] [RFC 5/6] drivers: move drivers/sh/pm_runtime.c to drivers/base
@ 2014-03-17 11:43 Ben Hutchings
0 siblings, 0 replies; only message in thread
From: Ben Hutchings @ 2014-03-17 11:43 UTC (permalink / raw)
To: linux-sh
On Mon, 2014-03-17 at 11:15 +0000, Ben Dooks wrote:
> Move the drivers/sh/pm_runtime.c code to drivers/base as it may be of
> use to any systems that need some generic platformbus power management.
[...]
> --- /dev/null
> +++ b/drivers/base/pm_runtime_platform.c
[...]
> +#if defined(CONFIG_ARCH_SHMOBILE_LEGACY) || defined(CONFIG_SH)
> +core_initcall(platformbus_pm_runtime_init);
> +#endif
It looks like this bit is actually needed in patch 2/6. I'm not sure
how these different platform config symbols are used, though.
[...]
> --- a/drivers/sh/pm_runtime.c
> +++ /dev/null
[...]
> -int __init sh_pm_runtime_init(void)
> -{
> - default_pm_on = true;
> - pm_clk_add_notifier(&platform_bus_type, &platform_bus_notifier);
> - return 0;
> -}
[...]
This appears to break SHMobile until 6/6 "ARM: shmobile: change to use
platformbus_pm_runtime_init" is also applied. They should be folded
together.
Ben.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-03-17 11:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-17 11:43 [Linux-kernel] [RFC 5/6] drivers: move drivers/sh/pm_runtime.c to drivers/base Ben Hutchings
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox