diff options
Diffstat (limited to 'sys-kernel/compat-drivers-alx/files/3.8-grsec/05-read-only-i915.patch')
-rw-r--r-- | sys-kernel/compat-drivers-alx/files/3.8-grsec/05-read-only-i915.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sys-kernel/compat-drivers-alx/files/3.8-grsec/05-read-only-i915.patch b/sys-kernel/compat-drivers-alx/files/3.8-grsec/05-read-only-i915.patch new file mode 100644 index 00000000..15a62f5e --- /dev/null +++ b/sys-kernel/compat-drivers-alx/files/3.8-grsec/05-read-only-i915.patch @@ -0,0 +1,17 @@ +--- ./drivers/gpu/drm/i915/i915_drv.h ++++ ./drivers/gpu/drm/i915/i915_drv.h +@@ -284,12 +284,12 @@ + /* render clock increase/decrease */ + /* display clock increase/decrease */ + /* pll clock increase/decrease */ +-}; ++} __no_const; + + struct drm_i915_gt_funcs { + void (*force_wake_get)(struct drm_i915_private *dev_priv); + void (*force_wake_put)(struct drm_i915_private *dev_priv); +-}; ++} __no_const; + + #define DEV_INFO_FLAGS \ + DEV_INFO_FLAG(is_mobile) DEV_INFO_SEP \ |