ARM: 7958/1: amba: Let runtime PM callbacks be available for CONFIG_PM
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 12 Feb 2014 13:06:43 +0000 (14:06 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 18 Feb 2014 16:06:17 +0000 (16:06 +0000)
commitf210c53a82ab9ba10574f8121a300d78e618febd
tree42d0cf0d16306373bb9da967ec7405987eeb6490
parentb28a960c42fcd9cfc987441fa6d1c1a471f0f9ed
ARM: 7958/1: amba: Let runtime PM callbacks be available for CONFIG_PM

Convert to the SET_PM_RUNTIME_PM macro while defining the runtime PM
callbacks. This means the callbacks becomes available for both
CONFIG_PM_SLEEP and CONFIG_PM_RUNTIME, which is needed by drivers and
power domains.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/amba/bus.c