summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/linux/switchtec_ioctl.h
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-25 19:24:38 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-25 20:35:03 +0100
commita984eb367c032dbe2577f01238c3d1268526be70 (patch)
tree437fef40379b2758b129ccea39df3570fa2d145e /include/arch/x86_64/linux/switchtec_ioctl.h
parent8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff)
Clang-tidy fixes
Diffstat (limited to 'include/arch/x86_64/linux/switchtec_ioctl.h')
-rw-r--r--include/arch/x86_64/linux/switchtec_ioctl.h21
1 files changed, 7 insertions, 14 deletions
diff --git a/include/arch/x86_64/linux/switchtec_ioctl.h b/include/arch/x86_64/linux/switchtec_ioctl.h
index 91f5408d..ba276c95 100644
--- a/include/arch/x86_64/linux/switchtec_ioctl.h
+++ b/include/arch/x86_64/linux/switchtec_ioctl.h
@@ -143,19 +143,12 @@ struct switchtec_ioctl_pff_port {
__u32 port;
};
-#define SWITCHTEC_IOCTL_FLASH_INFO \
- _IOR('W', 0x40, struct switchtec_ioctl_flash_info)
-#define SWITCHTEC_IOCTL_FLASH_PART_INFO \
- _IOWR('W', 0x41, struct switchtec_ioctl_flash_part_info)
-#define SWITCHTEC_IOCTL_EVENT_SUMMARY \
- _IOR('W', 0x42, struct switchtec_ioctl_event_summary)
-#define SWITCHTEC_IOCTL_EVENT_SUMMARY_LEGACY \
- _IOR('W', 0x42, struct switchtec_ioctl_event_summary_legacy)
-#define SWITCHTEC_IOCTL_EVENT_CTL \
- _IOWR('W', 0x43, struct switchtec_ioctl_event_ctl)
-#define SWITCHTEC_IOCTL_PFF_TO_PORT \
- _IOWR('W', 0x44, struct switchtec_ioctl_pff_port)
-#define SWITCHTEC_IOCTL_PORT_TO_PFF \
- _IOWR('W', 0x45, struct switchtec_ioctl_pff_port)
+#define SWITCHTEC_IOCTL_FLASH_INFO _IOR('W', 0x40, struct switchtec_ioctl_flash_info)
+#define SWITCHTEC_IOCTL_FLASH_PART_INFO _IOWR('W', 0x41, struct switchtec_ioctl_flash_part_info)
+#define SWITCHTEC_IOCTL_EVENT_SUMMARY _IOR('W', 0x42, struct switchtec_ioctl_event_summary)
+#define SWITCHTEC_IOCTL_EVENT_SUMMARY_LEGACY _IOR('W', 0x42, struct switchtec_ioctl_event_summary_legacy)
+#define SWITCHTEC_IOCTL_EVENT_CTL _IOWR('W', 0x43, struct switchtec_ioctl_event_ctl)
+#define SWITCHTEC_IOCTL_PFF_TO_PORT _IOWR('W', 0x44, struct switchtec_ioctl_pff_port)
+#define SWITCHTEC_IOCTL_PORT_TO_PFF _IOWR('W', 0x45, struct switchtec_ioctl_pff_port)
#endif