diff options
author | Andrew Lutomirski <luto@kernel.org> | 2016-11-30 02:11:52 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-11-30 22:34:24 +0100 |
commit | 034e7906211c18c230ef4da43a1c44796dd5b95e (patch) | |
tree | 1895c0a54f3708499713c79f6488dd2fad25dbe4 /drivers/base/power | |
parent | PM / QoS: Fix writing 'auto' to pm_qos_latency_tolerance_us (diff) | |
download | linux-034e7906211c18c230ef4da43a1c44796dd5b95e.tar.xz linux-034e7906211c18c230ef4da43a1c44796dd5b95e.zip |
PM / QoS: Export dev_pm_qos_update_user_latency_tolerance
nvme wants a module parameter that overrides the default latency
tolerance. This makes it easy for nvme to reflect that default in
sysfs.
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base/power')
-rw-r--r-- | drivers/base/power/qos.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/power/qos.c b/drivers/base/power/qos.c index 6a1f2c7e01ea..58fcc758334e 100644 --- a/drivers/base/power/qos.c +++ b/drivers/base/power/qos.c @@ -886,6 +886,7 @@ int dev_pm_qos_update_user_latency_tolerance(struct device *dev, s32 val) mutex_unlock(&dev_pm_qos_mtx); return ret; } +EXPORT_SYMBOL_GPL(dev_pm_qos_update_user_latency_tolerance); /** * dev_pm_qos_expose_latency_tolerance - Expose latency tolerance to userspace |