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(-)
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/bcm-flexrm-mailbox.c b/drivers/mailbox/bcm-flexrm-mailbox.c
index 41f79e51d9e5a92089a3fd798e848d837fb2775a..5d278bb5a4c0635dfc46b4a6dc3addf0b3b5d1be 100644
--- a/drivers/mailbox/bcm-flexrm-mailbox.c
+++ b/drivers/mailbox/bcm-flexrm-mailbox.c
@@ -26,7 +26,6 @@
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/mailbox_controller.h>
-#include <linux/mailbox_client.h>
#include <linux/mailbox/brcm-message.h>
#include <linux/module.h>
#include <linux/msi.h>
diff --git a/drivers/mailbox/cv1800-mailbox.c b/drivers/mailbox/cv1800-mailbox.c
index 4761191acf782654c1724df2c9cc619e1d7c985c..4bca9d8be4ba2c8debf6e48a5ddc2873f14b64fd 100644
--- a/drivers/mailbox/cv1800-mailbox.c
+++ b/drivers/mailbox/cv1800-mailbox.c
@@ -11,7 +11,6 @@
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/kfifo.h>
-#include <linux/mailbox_client.h>
#include <linux/mailbox_controller.h>
#include <linux/module.h>
#include <linux/platform_device.h>
diff --git a/drivers/mailbox/omap-mailbox.c b/drivers/mailbox/omap-mailbox.c
index 17fe6545875d01606b80e678fca82bf44f6eaffa..d9f100c18895224cf323b073db93ce94d7e16d18 100644
--- a/drivers/mailbox/omap-mailbox.c
+++ b/drivers/mailbox/omap-mailbox.c
@@ -21,7 +21,6 @@
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/mailbox_controller.h>
-#include <linux/mailbox_client.h>
#include "mailbox.h"
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>
---
base-commit: ca3a02fda4da8e2c1cb6baee5d72352e9e2cfaea
change-id: 20260127-mailbox-v1-1461cd2955fe
Best regards,
--
Peng Fan <peng.fan@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
© 2016 - 2026 Red Hat, Inc.