summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux/include/net/rpmsg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/include/net/rpmsg.h b/linux/include/net/rpmsg.h
index 6eab3c6..85c6ee5 100644
--- a/linux/include/net/rpmsg.h
+++ b/linux/include/net/rpmsg.h
@@ -56,8 +56,10 @@
#define AF_RPMSG 43
#elif LINUX_VERSION_CODE < KERNEL_VERSION(4,18,0)
#define AF_RPMSG 44
-#else
+#elif LINUX_VERSION_CODE < KERNEL_VERSION(5,15,0)
#define AF_RPMSG 45
+#else
+#define AF_RPMSG 46
#endif /* LINUX_VERSION_CODE */
#endif /* AF_RPMSG */