summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2015-12-14 12:50:52 +0200
committerJani Nikula <jani.nikula@intel.com>2015-12-16 11:28:26 +0200
commit827303855da8722569999a56ab2ac0c96c567a4d (patch)
tree76d49ac026a8e8b45d672778d194d0f7bc87bbb2 /drivers/gpu/drm/i915/i915_drv.h
parent65318734645c35a1612f76b856a84b9fb995d7e3 (diff)
downloadlwn-827303855da8722569999a56ab2ac0c96c567a4d.tar.gz
lwn-827303855da8722569999a56ab2ac0c96c567a4d.zip
drm/i915/opregion: make VBT pointer a const
Because we can. It's not to be touched so tell the compiler too. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/4b1872b121fb34a193cff9a5cb4e7c858d4a55aa.1450089383.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index ef15f1710b50..10e47167c594 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -457,7 +457,7 @@ struct intel_opregion {
u32 swsci_gbda_sub_functions;
u32 swsci_sbcb_sub_functions;
struct opregion_asle *asle;
- void *vbt;
+ const void *vbt;
u32 *lid_state;
struct work_struct asle_work;
};