[PATCH v2] xilinx: r5: Include the sys_r5_proto.h header for future use

Currently when using "W=1" with xilinx_zynqmp_r5_defconfig, getting below warnings. cc1.real: warning: ./arch/arm/mach-zynqmp-r5/include: No such file or directory [-Wmissing-include-dirs] Fix W=1 missing-include-dirs warnings by including the headers and sys_r5_proto.h file which can be used.
Signed-off-by: Venkatesh Yadav Abbarapu venkatesh.abbarapu@amd.com --- Changes in v2: - Fixed the copyright and other minor syntax issues. --- arch/arm/mach-zynqmp-r5/include/mach/sys_r5_proto.h | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 arch/arm/mach-zynqmp-r5/include/mach/sys_r5_proto.h
diff --git a/arch/arm/mach-zynqmp-r5/include/mach/sys_r5_proto.h b/arch/arm/mach-zynqmp-r5/include/mach/sys_r5_proto.h new file mode 100644 index 0000000000..0f7a47bf24 --- /dev/null +++ b/arch/arm/mach-zynqmp-r5/include/mach/sys_r5_proto.h @@ -0,0 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2024, Advanced Micro Devices, Inc. + * Michal Simek michal.simek@amd.com + */

On 1/11/24 04:00, Venkatesh Yadav Abbarapu wrote:
Currently when using "W=1" with xilinx_zynqmp_r5_defconfig, getting below warnings. cc1.real: warning: ./arch/arm/mach-zynqmp-r5/include: No such file or directory [-Wmissing-include-dirs] Fix W=1 missing-include-dirs warnings by including the headers and sys_r5_proto.h file which can be used.
Signed-off-by: Venkatesh Yadav Abbarapu venkatesh.abbarapu@amd.com
Changes in v2:
- Fixed the copyright and other minor syntax issues.
arch/arm/mach-zynqmp-r5/include/mach/sys_r5_proto.h | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 arch/arm/mach-zynqmp-r5/include/mach/sys_r5_proto.h
diff --git a/arch/arm/mach-zynqmp-r5/include/mach/sys_r5_proto.h b/arch/arm/mach-zynqmp-r5/include/mach/sys_r5_proto.h new file mode 100644 index 0000000000..0f7a47bf24 --- /dev/null +++ b/arch/arm/mach-zynqmp-r5/include/mach/sys_r5_proto.h @@ -0,0 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/*
- Copyright (C) 2024, Advanced Micro Devices, Inc.
- Michal Simek michal.simek@amd.com
- */
Applied. M
participants (2)
-
Michal Simek
-
Venkatesh Yadav Abbarapu