From: Sudeep Holla <sudeep.holla@kernel.org>
To: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>
Cc: Jassi Brar <jassisinghbrar@gmail.com>,
Sudeep Holla <sudeep.holla@kernel.org>,
Beleswar Padhi <b-padhi@ti.com>, Andrew Davis <afd@ti.com>,
Yuntao Dai <d1581209858@live.com>,
linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org,
mailbox@lists.linux.dev, Peng Fan <peng.fan@nxp.com>
Subject: Re: [PATCH] mailbox: Clean up the usage of mailbox_client.h
Date: Tue, 27 Jan 2026 11:14:11 +0000 [thread overview]
Message-ID: <aXieA6vpJEUvEKRe@bogus> (raw)
In-Reply-To: <20260127-mailbox-v1-v1-1-cf15d7cece48@nxp.com>
On Tue, Jan 27, 2026 at 07:02:53AM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> mailbox_client.h is should be used by consumer drivers, not mailbox
> provider.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
> drivers/mailbox/bcm-flexrm-mailbox.c | 1 -
> drivers/mailbox/cv1800-mailbox.c | 1 -
> drivers/mailbox/omap-mailbox.c | 1 -
> drivers/mailbox/pcc.c | 1 -
> 4 files changed, 4 deletions(-)
>
[...]
>
> diff --git a/drivers/mailbox/pcc.c b/drivers/mailbox/pcc.c
> index 22e70af1ae5d14e6e8c684fe032c2864f6ae4d6c..6ca84596e7637114f66d32a95d12c863e942b756 100644
> --- a/drivers/mailbox/pcc.c
> +++ b/drivers/mailbox/pcc.c
> @@ -55,7 +55,6 @@
> #include <linux/log2.h>
> #include <linux/platform_device.h>
> #include <linux/mailbox_controller.h>
> -#include <linux/mailbox_client.h>
> #include <linux/io-64-nonatomic-lo-hi.h>
> #include <acpi/pcc.h>
>
There is a call to mbox_bind_client() in pcc.c that is declared in
linux/mailbox_client.h
You didn't see any build warning or errors with this change ? Esp if build
as module.
--
Regards,
Sudeep
next prev parent reply other threads:[~2026-01-27 11:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-26 23:02 [PATCH] mailbox: Clean up the usage of mailbox_client.h Peng Fan (OSS)
2026-01-27 11:14 ` Sudeep Holla [this message]
2026-01-27 13:51 ` Peng Fan
2026-01-27 14:47 ` Peng Fan
2026-01-27 16:00 ` Sudeep Holla
2026-01-28 7:50 ` Peng Fan
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=aXieA6vpJEUvEKRe@bogus \
--to=sudeep.holla@kernel.org \
--cc=afd@ti.com \
--cc=b-padhi@ti.com \
--cc=d1581209858@live.com \
--cc=jassisinghbrar@gmail.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mailbox@lists.linux.dev \
--cc=peng.fan@nxp.com \
--cc=peng.fan@oss.nxp.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