[PATCH v3 05/10] powerpc/uapi: Export papr-miscdev.h header
Nathan Lynch via B4 Relay
devnull+nathanl.linux.ibm.com at kernel.org
Thu Oct 26 14:24:19 AEDT 2023
From: Nathan Lynch <nathanl at linux.ibm.com>
Allocate one identifying code (the first column of the ioctl-number
table) for the collection of PAPR miscdev drivers to share.
Signed-off-by: Nathan Lynch <nathanl at linux.ibm.com>
---
arch/powerpc/include/uapi/asm/papr-miscdev.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/powerpc/include/uapi/asm/papr-miscdev.h b/arch/powerpc/include/uapi/asm/papr-miscdev.h
new file mode 100644
index 000000000000..49a2a270b7f3
--- /dev/null
+++ b/arch/powerpc/include/uapi/asm/papr-miscdev.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+#ifndef _UAPI_PAPR_MISCDEV_H_
+#define _UAPI_PAPR_MISCDEV_H_
+
+enum {
+ PAPR_MISCDEV_IOC_ID = 0xb2,
+};
+
+#endif /* _UAPI_PAPR_MISCDEV_H_ */
--
2.41.0
More information about the Linuxppc-dev
mailing list