summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_gem.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-01-26 12:49:47 +0300
committerDave Airlie <airlied@redhat.com>2011-02-23 04:13:11 +0300
commitb1f559ecdc6026ef783ccadc62a61e7da906fcb4 (patch)
tree0191b560a045c6490c326ef0c027797ba9886ffa /drivers/gpu/drm/drm_gem.c
parent60b212f8ddcdbbfa8595f40300756b9ea8dd387e (diff)
downloadlinux-b1f559ecdc6026ef783ccadc62a61e7da906fcb4.tar.xz
drm: Mark constant arrays of drm_display_mode const
... and fixup some methods to accept the constant argument. Now that constant module arrays are loaded into read-only memory, using const appropriately has some benefits beyond warning the programmer about likely mistakes. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_gem.c')
0 files changed, 0 insertions, 0 deletions