summaryrefslogtreecommitdiff
path: root/libkms
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-08-15 17:01:55 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2015-09-04 21:39:06 +0100
commitaecd5a1879b39bc2b9b46a0a217aa4ce3d97bc8c (patch)
treeb59525dded2c76a6748cda8405ec1b2eec700961 /libkms
parent04e243262d1d71cc8e0ac42ea96fff72af9f711d (diff)
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
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 */