Re: [RFC/PATCH] platform_bus: allow custom extensions to system PMmethods

From: Greg KH
Date: Wed Mar 17 2010 - 19:44:45 EST


On Wed, Mar 17, 2010 at 04:18:15PM -0700, Kevin Hilman wrote:
> When runtime PM for platform_bus was added, it allowed for platforms
> to customize the runtime PM methods since they are defined as weak
> symbols.
>
> This patch allows platforms to also extend the system PM methods with
> custom hooks so runtime PM and system PM extensions can be managed
> together by custom platform-specific code.

Wow, that's scary, I didn't realize that was done for the runtime stuff.

What would you be replacing these functions with for your platform that
would require it to be in arch-specific code?

thanks,

greg k-h
--
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/