libkms: use static const for good measure
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 15 Aug 2015 16:01:55 +0000 (17:01 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 4 Sep 2015 20:39:06 +0000 (21:39 +0100)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
libkms/linux.c

index b735527c83cf360b64f231e6ccbd2dba43202f90..6e0da830fd2d3f437533e8f99af87265d69e27b1 100644 (file)
@@ -149,7 +149,7 @@ struct create_record
        int (*func)(int fd, struct kms_driver **out);
 };
 
-static struct create_record table[] = {
+static const struct create_record table[] = {
        { 0x8086, 0x2a42, intel_create }, /* i965 */
 #ifdef HAVE_VMWGFX
        { 0x15ad, 0x0405, vmwgfx_create }, /* VMware vGPU */