summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMichal Simek <[email protected]>2026-06-23 14:53:26 +0200
committerMichal Simek <[email protected]>2026-07-08 08:55:51 +0200
commit5979d3d44e5fe1e4f8827b585b92a0c17532edd9 (patch)
tree3a48659a9785c879079e2a95d5f5dc355fdd5bd1 /drivers
parent1d24edabfed9d32be7e35a53946ae177d4b4121a (diff)
arm: xilinx: Guard mach sys_proto.h against multiple inclusion
The Versal and Versal Gen 2 mach sys_proto.h headers lacked an include guard. mach-versal/sys_proto.h additionally defines enum tcm_mode, so including it twice in one translation unit fails to build with a redeclaration error. This is about to happen in firmware-zynqmp.c, which needs the SoC prototypes unconditionally for the upcoming weak/strong multiboot and bootmode accessors. Add the standard _ASM_ARCH_SYS_PROTO_H guard, as already used by mach-zynqmp, so the header can be included more than once. Signed-off-by: Michal Simek <[email protected]> Link: https://patch.msgid.link/1bf5b1d49abb271c2c5e7135837b740179b95553.1782219202.git.michal.simek@amd.com
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions