summaryrefslogtreecommitdiff
path: root/sys-kernel/compat-drivers-alx/files/3.8-grsec/04-read-only-brcm80211.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/compat-drivers-alx/files/3.8-grsec/04-read-only-brcm80211.patch')
-rw-r--r--sys-kernel/compat-drivers-alx/files/3.8-grsec/04-read-only-brcm80211.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-kernel/compat-drivers-alx/files/3.8-grsec/04-read-only-brcm80211.patch b/sys-kernel/compat-drivers-alx/files/3.8-grsec/04-read-only-brcm80211.patch
new file mode 100644
index 00000000..865a62d5
--- /dev/null
+++ b/sys-kernel/compat-drivers-alx/files/3.8-grsec/04-read-only-brcm80211.patch
@@ -0,0 +1,11 @@
+--- ./drivers/net/wireless/brcm80211/brcmsmac/phy/phy_int.h
++++ ./drivers/net/wireless/brcm80211/brcmsmac/phy/phy_int.h
+@@ -545,7 +545,7 @@
+ void (*carrsuppr)(struct brcms_phy *);
+ s32 (*rxsigpwr)(struct brcms_phy *, s32);
+ void (*detach)(struct brcms_phy *);
+-};
++} __no_const;
+
+ struct brcms_phy {
+ struct brcms_phy_pub pubpi_ro;