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