drm: Mark constant arrays of drm_display_mode const
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 26 Jan 2011 09:49:47 +0000 (09:49 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 23 Feb 2011 01:13:11 +0000 (11:13 +1000)
... 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>

No differences found