aboutsummaryrefslogtreecommitdiff
path: root/drivers/mailbox/zynqmp-ipi.c
diff options
context:
space:
mode:
authorAshok Reddy Soma2022-07-22 02:46:57 -0600
committerMichal Simek2022-07-26 08:36:20 +0200
commitcce33515010287a5bd7f4b6f9ebce0f56268a7f1 (patch)
treef91c8a98fe46778c138607eabb2627df31a838d3 /drivers/mailbox/zynqmp-ipi.c
parent7b4e365e49c76df88917883bd59dc9799131bac2 (diff)
mailbox: zynqmp: Move struct zynqmp_ipi_msg from sys_proto.h
Mailbox driver might be need for Versal and other future platforms. To remove the dependency, move struct zynqmp_ipi_msg to zynqmp_firmware.h so that mailbox driver compiles for other platforms easily. Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/20220722084658.30995-5-ashok.reddy.soma@xilinx.com
Diffstat (limited to 'drivers/mailbox/zynqmp-ipi.c')
-rw-r--r--drivers/mailbox/zynqmp-ipi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mailbox/zynqmp-ipi.c b/drivers/mailbox/zynqmp-ipi.c
index 959cce923c5..3e4ec47389f 100644
--- a/drivers/mailbox/zynqmp-ipi.c
+++ b/drivers/mailbox/zynqmp-ipi.c
@@ -11,10 +11,10 @@
#include <dm.h>
#include <mailbox-uclass.h>
#include <dm/device_compat.h>
-#include <mach/sys_proto.h>
#include <linux/ioport.h>
#include <linux/io.h>
#include <wait_bit.h>
+#include <zynqmp_firmware.h>
/* IPI bitmasks, register base */
/* TODO: move reg base to DT */