diff options
author | 2011-01-26 09:49:47 +0000 | |
---|---|---|
committer | 2011-02-23 11:13:11 +1000 | |
commit | b1f559ecdc6026ef783ccadc62a61e7da906fcb4 (patch) | |
tree | 0191b560a045c6490c326ef0c027797ba9886ffa /lib/vsprintf.c | |
parent | drm/radeon: overhaul texture checking. (v3) (diff) | |
download | linux-rng-b1f559ecdc6026ef783ccadc62a61e7da906fcb4.tar.xz linux-rng-b1f559ecdc6026ef783ccadc62a61e7da906fcb4.zip |
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 'lib/vsprintf.c')
0 files changed, 0 insertions, 0 deletions