summaryrefslogtreecommitdiff
path: root/include/linux/device-id/rpmsg.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-07-13 07:09:28 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-07-13 07:09:28 +0200
commitb60af0b9e752aa77f29daac026dd2314cc2a0bb0 (patch)
tree8031a0c967858bc5f6dcdf058158541a1ded2fd6 /include/linux/device-id/rpmsg.h
parent1db5c6b0b9834aee2f14e39764becfcc29d09ccf (diff)
parenta13c140cc289c0b7b3770bce5b3ad42ab35074aa (diff)
downloadlinux-next-b60af0b9e752aa77f29daac026dd2314cc2a0bb0.tar.gz
linux-next-b60af0b9e752aa77f29daac026dd2314cc2a0bb0.zip
Merge 7.2-rc3 into usb-next
We need the USB fixes in here as well to build on top of. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/device-id/rpmsg.h')
-rw-r--r--include/linux/device-id/rpmsg.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/device-id/rpmsg.h b/include/linux/device-id/rpmsg.h
new file mode 100644
index 000000000000..dd53e7b7dc4f
--- /dev/null
+++ b/include/linux/device-id/rpmsg.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef LINUX_DEVICE_ID_RPMSG_H
+#define LINUX_DEVICE_ID_RPMSG_H
+
+#ifdef __KERNEL__
+typedef unsigned long kernel_ulong_t;
+#endif
+
+/* rpmsg */
+
+#define RPMSG_NAME_SIZE 32
+#define RPMSG_DEVICE_MODALIAS_FMT "rpmsg:%s"
+
+struct rpmsg_device_id {
+ char name[RPMSG_NAME_SIZE];
+ kernel_ulong_t driver_data;
+};
+
+#endif /* ifndef LINUX_DEVICE_ID_RPMSG_H */