[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7hbk0vukx4.fsf@baylibre.com>
Date: Tue, 10 Sep 2024 16:51:51 -0700
From: Kevin Hilman <khilman@...libre.com>
To: Markus Schneider-Pargmann <msp@...libre.com>, Nishanth Menon
<nm@...com>, Tero Kristo <kristo@...nel.org>, Santosh Shilimkar
<ssantosh@...nel.org>, "Rafael J . Wysocki" <rafael@...nel.org>, Pavel
Machek <pavel@....cz>, Len Brown <len.brown@...el.com>, Greg Kroah-Hartman
<gregkh@...uxfoundation.org>
Cc: Vibhore Vardhan <vibhore@...com>, Dhruva Gole <d-gole@...com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org, Markus Schneider-Pargmann <msp@...libre.com>
Subject: Re: [PATCH v12 1/5] PM: QoS: Export dev_pm_qos_read_value
Markus Schneider-Pargmann <msp@...libre.com> writes:
> In the ti_sci driver we would like to pass the resume latencies set on
> devices to the firmware so it can decide which power mode is the best to
> choose. To be able to build a driver using this function as a module,
> this function should be exported.
>
> Signed-off-by: Markus Schneider-Pargmann <msp@...libre.com>
Reviewed-by: Kevin Hilman <khilman@...libre.com>
Tested-by: Kevin Hilman <khilman@...libre.com>
Rafael, if there are no objects, feel free to take this one via your
tree. Thanks!
Kevin
> ---
> drivers/base/power/qos.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/base/power/qos.c b/drivers/base/power/qos.c
> index bd77f6734f14..ff393cba7649 100644
> --- a/drivers/base/power/qos.c
> +++ b/drivers/base/power/qos.c
> @@ -137,6 +137,7 @@ s32 dev_pm_qos_read_value(struct device *dev, enum dev_pm_qos_req_type type)
>
> return ret;
> }
> +EXPORT_SYMBOL_GPL(dev_pm_qos_read_value);
>
> /**
> * apply_constraint - Add/modify/remove device PM QoS request.
> --
> 2.45.2
Powered by blists - more mailing lists