commit | b1f559ecdc6026ef783ccadc62a61e7da906fcb4 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Wed Jan 26 09:49:47 2011 +0000 |
committer | Dave Airlie <airlied@redhat.com> | Wed Feb 23 11:13:11 2011 +1000 |
tree | 0191b560a045c6490c326ef0c027797ba9886ffa | |
parent | 60b212f8ddcdbbfa8595f40300756b9ea8dd387e [diff] |
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>