From: Andrew Lutomirski Date: Wed, 30 Nov 2016 01:11:52 +0000 (-0800) Subject: PM / QoS: Export dev_pm_qos_update_user_latency_tolerance X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=034e7906211c18c230ef4da43a1c44796dd5b95e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Rafael J. Wysocki --- 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