]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/linux/pm_qos.h
PM / QoS: Prepare device structure for adding more constraint types
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 22 Oct 2012 23:07:27 +0000 (01:07 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 22 Oct 2012 23:07:27 +0000 (01:07 +0200)
commit5f986c590fcf4284924fcda991cf14ab32bff49f
tree07b31910af67192423c5bc7b7e6ee1134bc221c2
parent6f0c0580b70c89094b3422ba81118c7b959c7556
PM / QoS: Prepare device structure for adding more constraint types

Currently struct dev_pm_info contains only one PM QoS constraints
pointer reserved for latency requirements.  Since one more device
constraints type (i.e. flags) will be necessary, introduce a new
structure, struct dev_pm_qos, that eventually will contain all of
the available device PM QoS constraints and replace the "constraints"
pointer in struct dev_pm_info with a pointer to the new structure
called "qos".

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Jean Pihet <j-pihet@ti.com>
drivers/base/power/qos.c
include/linux/pm.h
include/linux/pm_qos.h