pentoo-overlay/sys-kernel/compat-drivers/files/3.8-grsec/00-read-only.patch

23 lines
604 B
Diff

--- ./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