summaryrefslogtreecommitdiff
path: root/sys-kernel/compat-drivers-alx/files/3.8-grsec/05-read-only-i915.patch
blob: 15a62f5e012900a655f53400acde6b7c97f2fa40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 \