summaryrefslogtreecommitdiff
path: root/sys-kernel/compat-drivers/files/3.8-grsec/00-read-only.patch
blob: a7066c36cbec2a666d7f9052c27e3de80c042211 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- ./include/net/bluetooth/bluetooth.h
+++ ./include/net/bluetooth/bluetooth.h
@@ -206,7 +206,7 @@
         struct file_operations   fops;
         int (* custom_seq_show)(struct seq_file *, void *);
 #endif
-};
+} __no_const;
 
 int  bt_sock_register(int proto, const struct net_proto_family *ops);
 int  bt_sock_unregister(int proto);
--- ./include/net/mac80211.h
+++ ./include/net/mac80211.h
@@ -2652,7 +2652,7 @@
 				     struct ieee80211_chanctx_conf *ctx);
 
 	void (*restart_complete)(struct ieee80211_hw *hw);
-};
+} __no_const;
 
 /**
  * ieee80211_alloc_hw -  Allocate a new hardware device