aboutsummaryrefslogtreecommitdiff
path: root/hw/net/can
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2022-05-06 15:49:08 +0200
committerMarkus Armbruster <armbru@redhat.com>2022-05-11 16:49:06 +0200
commit52581c718c5cd55595ca032a56f1e194c5716456 (patch)
tree19d86da74de2d8e31fe337e8a3e5a81f099e396f /hw/net/can
parent178bacb66d98d9ee7a702b9f2a4dfcd88b72a9ab (diff)
downloadqemu-52581c718c5cd55595ca032a56f1e194c5716456.zip
qemu-52581c718c5cd55595ca032a56f1e194c5716456.tar.gz
qemu-52581c718c5cd55595ca032a56f1e194c5716456.tar.bz2
Clean up header guards that don't match their file name
Header guard symbols should match their file name to make guard collisions less likely. Cleaned up with scripts/clean-header-guards.pl, followed by some renaming of new guard symbols picked by the script to better ones. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20220506134911.2856099-2-armbru@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> [Change to generated file ebpf/rss.bpf.skeleton.h backed out]
Diffstat (limited to 'hw/net/can')
-rw-r--r--hw/net/can/ctu_can_fd_frame.h4
-rw-r--r--hw/net/can/ctu_can_fd_regs.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/hw/net/can/ctu_can_fd_frame.h b/hw/net/can/ctu_can_fd_frame.h
index 04d956c..459c4a0 100644
--- a/hw/net/can/ctu_can_fd_frame.h
+++ b/hw/net/can/ctu_can_fd_frame.h
@@ -29,8 +29,8 @@
/* This file is autogenerated, DO NOT EDIT! */
-#ifndef __CTU_CAN_FD_CAN_FD_FRAME_FORMAT__
-#define __CTU_CAN_FD_CAN_FD_FRAME_FORMAT__
+#ifndef HW_CAN_CTU_CAN_FD_FRAME_H
+#define HW_CAN_CTU_CAN_FD_FRAME_H
/* CAN_Frame_format memory map */
enum ctu_can_fd_can_frame_format {
diff --git a/hw/net/can/ctu_can_fd_regs.h b/hw/net/can/ctu_can_fd_regs.h
index 450f4b9..57859b8 100644
--- a/hw/net/can/ctu_can_fd_regs.h
+++ b/hw/net/can/ctu_can_fd_regs.h
@@ -29,8 +29,8 @@
/* This file is autogenerated, DO NOT EDIT! */
-#ifndef __CTU_CAN_FD_CAN_FD_REGISTER_MAP__
-#define __CTU_CAN_FD_CAN_FD_REGISTER_MAP__
+#ifndef HW_CAN_CTU_CAN_FD_REGS_H
+#define HW_CAN_CTU_CAN_FD_REGS_H
/* CAN_Registers memory map */
enum ctu_can_fd_can_registers {