aboutsummaryrefslogtreecommitdiffstats
path: root/libkms
diff options
context:
space:
mode:
authorEmil Velikov2015-08-15 11:01:55 -0500
committerEmil Velikov2015-09-04 15:39:06 -0500
commitaecd5a1879b39bc2b9b46a0a217aa4ce3d97bc8c (patch)
treeb59525dded2c76a6748cda8405ec1b2eec700961 /libkms
parent04e243262d1d71cc8e0ac42ea96fff72af9f711d (diff)
downloadexternal-libdrm-aecd5a1879b39bc2b9b46a0a217aa4ce3d97bc8c.tar.gz
external-libdrm-aecd5a1879b39bc2b9b46a0a217aa4ce3d97bc8c.tar.xz
external-libdrm-aecd5a1879b39bc2b9b46a0a217aa4ce3d97bc8c.zip
libkms: use static const for good measure
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'libkms')
-rw-r--r--libkms/linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkms/linux.c b/libkms/linux.c
index b735527c..6e0da830 100644
--- a/libkms/linux.c
+++ b/libkms/linux.c
@@ -149,7 +149,7 @@ struct create_record
149 int (*func)(int fd, struct kms_driver **out); 149 int (*func)(int fd, struct kms_driver **out);
150}; 150};
151 151
152static struct create_record table[] = { 152static const struct create_record table[] = {
153 { 0x8086, 0x2a42, intel_create }, /* i965 */ 153 { 0x8086, 0x2a42, intel_create }, /* i965 */
154#ifdef HAVE_VMWGFX 154#ifdef HAVE_VMWGFX
155 { 0x15ad, 0x0405, vmwgfx_create }, /* VMware vGPU */ 155 { 0x15ad, 0x0405, vmwgfx_create }, /* VMware vGPU */