diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2019-08-02 22:03:56 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2019-08-14 20:15:48 +0200 |
commit | 8d4d173326b4e5fa35e69c9de13ae02283c876a9 (patch) | |
tree | 10e94f42c109a7e04ad74b2db2997c450b537544 /patches/0053-possible_net_t.patch | |
parent | 907f4e839ba8c0553b7aec35b383d733addd574f (diff) |
patches: Add include in cfg80211.h
cfg80211.h uses struct nla_policy in two places, but does not include
net/netlink.h directly. Because of this missing include the rename to
struct nla_backport_policy is not applied and this results in type
mismatch errors when compiling backports. With this additional include
the type is renamed.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'patches/0053-possible_net_t.patch')
-rw-r--r-- | patches/0053-possible_net_t.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/0053-possible_net_t.patch b/patches/0053-possible_net_t.patch index 4d9f0cfd..06873e3b 100644 --- a/patches/0053-possible_net_t.patch +++ b/patches/0053-possible_net_t.patch @@ -2,7 +2,7 @@ diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 04e5785..a251da1 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h -@@ -4581,12 +4581,12 @@ struct wiphy { +@@ -4582,12 +4582,12 @@ struct wiphy { static inline struct net *wiphy_net(struct wiphy *wiphy) { |