From: Markus Schneider-Pargmann <msp@baylibre.com>
To: "Rafael J . Wysocki" <rafael@kernel.org>,
Pavel Machek <pavel@ucw.cz>, Len Brown <len.brown@intel.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Vishal Mahaveer <vishalm@ti.com>,
Kevin Hilman <khilman@baylibre.com>, Dhruva Gole <d-gole@ti.com>,
linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
Markus Schneider-Pargmann <msp@baylibre.com>
Subject: [PATCH v2] PM: QoS: Export dev_pm_qos_read_value
Date: Wed, 2 Oct 2024 21:44:46 +0200 [thread overview]
Message-ID: <20241002194446.269775-1-msp@baylibre.com> (raw)
Export the function dev_pm_qos_read_value(). Most other functions
mentioned in Documentation/power/pm_qos_interface.rst are already
exported, so export this one as well.
This function will be used to read the resume latency in a driver that
can also be compiled as a module.
Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
---
Notes:
Changes in v2:
- Rephrase the commit message
- Move the patch out of the series
'firmware: ti_sci: Introduce system suspend support'
Previous versions:
ti_sci v12 https://lore.kernel.org/lkml/20240904194229.109886-1-msp@baylibre.com/
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
next reply other threads:[~2024-10-02 19:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-02 19:44 Markus Schneider-Pargmann [this message]
2024-10-03 6:02 ` [PATCH v2] PM: QoS: Export dev_pm_qos_read_value Greg Kroah-Hartman
2024-10-03 6:28 ` Markus Schneider-Pargmann
2024-10-03 6:49 ` Greg Kroah-Hartman
2024-10-03 7:21 ` Markus Schneider-Pargmann
2024-10-25 13:15 ` Nishanth Menon
2024-10-25 14:50 ` Rafael J. Wysocki
2024-10-25 15:16 ` Nishanth Menon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241002194446.269775-1-msp@baylibre.com \
--to=msp@baylibre.com \
--cc=d-gole@ti.com \
--cc=gregkh@linuxfoundation.org \
--cc=khilman@baylibre.com \
--cc=len.brown@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=rafael@kernel.org \
--cc=vishalm@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox