From: Palmer Dabbelt <palmer@rivosinc.com>
To: mchehab@kernel.org
Cc: laurent.pinchart@ideasonboard.com, shawnguo@kernel.org,
s.hauer@pengutronix.de, kernel@pengutronix.de,
festevam@gmail.com, linux-imx@nxp.com,
linux-media@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux@rivosinc.com,
Palmer Dabbelt <palmer@rivosinc.com>
Subject: [PATCH 1/2] media: nxp: imx8-isi: Fix unusued function warnings
Date: Fri, 28 Apr 2023 08:21:55 -0700 [thread overview]
Message-ID: <20230428152156.22840-2-palmer@rivosinc.com> (raw)
In-Reply-To: <20230428152156.22840-1-palmer@rivosinc.com>
From: Palmer Dabbelt <palmer@rivosinc.com>
I just stumbled into these when trying to test against Linus' master.
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
---
drivers/media/platform/nxp/imx8-isi/imx8-isi-core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/media/platform/nxp/imx8-isi/imx8-isi-core.c b/drivers/media/platform/nxp/imx8-isi/imx8-isi-core.c
index 238521622b75..01a24ee8b5a1 100644
--- a/drivers/media/platform/nxp/imx8-isi/imx8-isi-core.c
+++ b/drivers/media/platform/nxp/imx8-isi/imx8-isi-core.c
@@ -311,7 +311,7 @@ static const struct mxc_isi_plat_data mxc_imx8mp_data = {
* Power management
*/
-static int mxc_isi_pm_suspend(struct device *dev)
+static int __maybe_unused mxc_isi_pm_suspend(struct device *dev)
{
struct mxc_isi_dev *isi = dev_get_drvdata(dev);
unsigned int i;
@@ -325,7 +325,7 @@ static int mxc_isi_pm_suspend(struct device *dev)
return pm_runtime_force_suspend(dev);
}
-static int mxc_isi_pm_resume(struct device *dev)
+static int __maybe_unused mxc_isi_pm_resume(struct device *dev)
{
struct mxc_isi_dev *isi = dev_get_drvdata(dev);
unsigned int i;
--
2.40.0
next prev parent reply other threads:[~2023-04-28 15:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-28 15:21 [PATCH 0/2] media: nxp: imx8-isi: Two build fixes Palmer Dabbelt
2023-04-28 15:21 ` Palmer Dabbelt [this message]
2023-04-28 15:21 ` [PATCH 2/2] media: nxp: imx8-isi: Fix undefined config warnings Palmer Dabbelt
2023-05-22 10:46 ` [PATCH 0/2] media: nxp: imx8-isi: Two build fixes Sakari Ailus
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=20230428152156.22840-2-palmer@rivosinc.com \
--to=palmer@rivosinc.com \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux@rivosinc.com \
--cc=mchehab@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
/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
all inboxes | Powered by JetHome®