diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-22 16:01:57 -0700 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-22 16:01:57 -0700 | 
| commit | 431bf99d26157d56689e5de65bd27ce9f077fc3f (patch) | |
| tree | b15e357039956fcdd0e0e6177d2fc99bb3cfa822 /arch/sh/kernel/cpu/shmobile/pm_runtime.c | |
| parent | 72f96e0e38d7e29ba16dcfd824ecaebe38b8293e (diff) | |
| parent | 7ae033cc0dfce68d8e0c83aca60837cf2bf0d2e6 (diff) | |
| download | olio-linux-3.10-431bf99d26157d56689e5de65bd27ce9f077fc3f.tar.xz olio-linux-3.10-431bf99d26157d56689e5de65bd27ce9f077fc3f.zip  | |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6: (51 commits)
  PM: Improve error code of pm_notifier_call_chain()
  PM: Add "RTC" to PM trace time stamps to avoid confusion
  PM / Suspend: Export suspend_set_ops, suspend_valid_only_mem
  PM / Suspend: Add .suspend_again() callback to suspend_ops
  PM / OPP: Introduce function to free cpufreq table
  ARM / shmobile: Return -EBUSY from A4LC power off if A3RV is active
  PM / Domains: Take .power_off() error code into account
  ARM / shmobile: Use genpd_queue_power_off_work()
  ARM / shmobile: Use pm_genpd_poweroff_unused()
  PM / Domains: Introduce function to power off all unused PM domains
  OMAP: PM: disable idle on suspend for GPIO and UART
  OMAP: PM: omap_device: add API to disable idle on suspend
  OMAP: PM: omap_device: add system PM methods for PM domain handling
  OMAP: PM: omap_device: conditionally use PM domain runtime helpers
  PM / Runtime: Add new helper function: pm_runtime_status_suspended()
  PM / Domains: Queue up power off work only if it is not pending
  PM / Domains: Improve handling of wakeup devices during system suspend
  PM / Domains: Do not restore all devices on power off error
  PM / Domains: Allow callbacks to execute all runtime PM helpers
  PM / Domains: Do not execute device callbacks under locks
  ...
Diffstat (limited to 'arch/sh/kernel/cpu/shmobile/pm_runtime.c')
| -rw-r--r-- | arch/sh/kernel/cpu/shmobile/pm_runtime.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/kernel/cpu/shmobile/pm_runtime.c b/arch/sh/kernel/cpu/shmobile/pm_runtime.c index 64c807c3920..bf280c812d2 100644 --- a/arch/sh/kernel/cpu/shmobile/pm_runtime.c +++ b/arch/sh/kernel/cpu/shmobile/pm_runtime.c @@ -256,7 +256,7 @@ out:  	return ret;  } -static struct dev_power_domain default_power_domain = { +static struct dev_pm_domain default_pm_domain = {  	.ops = {  		.runtime_suspend = default_platform_runtime_suspend,  		.runtime_resume = default_platform_runtime_resume, @@ -285,7 +285,7 @@ static int platform_bus_notify(struct notifier_block *nb,  		hwblk_disable(hwblk_info, hwblk);  		/* make sure driver re-inits itself once */  		__set_bit(PDEV_ARCHDATA_FLAG_INIT, &pdev->archdata.flags); -		dev->pwr_domain = &default_power_domain; +		dev->pm_domain = &default_pm_domain;  		break;  	/* TODO: add BUS_NOTIFY_BIND_DRIVER and increase idle count */  	case BUS_NOTIFY_BOUND_DRIVER: @@ -299,7 +299,7 @@ static int platform_bus_notify(struct notifier_block *nb,  		__set_bit(PDEV_ARCHDATA_FLAG_INIT, &pdev->archdata.flags);  		break;  	case BUS_NOTIFY_DEL_DEVICE: -		dev->pwr_domain = NULL; +		dev->pm_domain = NULL;  		break;  	}  	return 0;  |