diff mbox

[libdrm,08/17] libkms: use static const for good measure

Message ID 1440434060-31347-8-git-send-email-emil.l.velikov@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Emil Velikov Aug. 24, 2015, 4:34 p.m. UTC
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
---
 libkms/linux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/libkms/linux.c b/libkms/linux.c
index b735527..6e0da83 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 */