]> git.baikalelectronics.ru Git - kernel.git/commit
platform_bus: allow custom extensions to system PM methods
authorKevin Hilman <khilman@deeprootsystems.com>
Wed, 17 Mar 2010 23:18:15 +0000 (16:18 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 21 May 2010 16:37:30 +0000 (09:37 -0700)
commit863ee1c20d3945f82e520658f4efd9b7844472f8
tree5d6f0102abe82b15b9423ef01d0dbd83b0f43323
parentef3125fc000a6be0665b3932e0e3cdc9db89f005
platform_bus: allow custom extensions to system PM methods

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.

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Magnus Damm <damm@opensource.se>
Cc: Rafael Wysocki <rjw@sisk.pl>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/platform.c