From aecd5a1879b39bc2b9b46a0a217aa4ce3d97bc8c Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sat, 15 Aug 2015 17:01:55 +0100 Subject: [PATCH] libkms: use static const for good measure Signed-off-by: Emil Velikov --- libkms/linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */