diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-01-26 12:49:47 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-02-23 04:13:11 +0300 |
commit | b1f559ecdc6026ef783ccadc62a61e7da906fcb4 (patch) | |
tree | 0191b560a045c6490c326ef0c027797ba9886ffa /drivers/gpu/drm/drm_gem.c | |
parent | 60b212f8ddcdbbfa8595f40300756b9ea8dd387e (diff) | |
download | linux-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