aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/004-header-backport-GENL_UNS_ADMIN_PERM.patch
blob: 38d655fe0597209ff5d5fbe96658913da5a1a73d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Felix Fietkau <nbd@nbd.name>
Date: Sat, 14 May 2016 16:39:35 +0200
Subject: [PATCH] header: backport GENL_UNS_ADMIN_PERM

Signed-off-by: Felix Fietkau <nbd@nbd.name>
---
 create mode 100644 backport-include/uapi/linux/genetlink.h

--- /dev/null
+++ b/backport-include/uapi/linux/genetlink.h
@@ -0,0 +1,10 @@
+#ifndef __COMPAT_UAPI_LINUX_GENETLINK_H
+#define __COMPAT_UAPI_LINUX_GENETLINK_H
+
+#include_next <uapi/linux/genetlink.h>
+
+#ifndef GENL_UNS_ADMIN_PERM
+#define GENL_UNS_ADMIN_PERM GENL_ADMIN_PERM
+#endif
+
+#endif