projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04e2432
)
libkms: use static const for good measure
author
Emil Velikov
<emil.l.velikov@gmail.com>
Sat, 15 Aug 2015 16:01:55 +0000
(17:01 +0100)
committer
Emil 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
patch
|
blob
|
history
diff --git
a/libkms/linux.c
b/libkms/linux.c
index b735527c83cf360b64f231e6ccbd2dba43202f90..6e0da830fd2d3f437533e8f99af87265d69e27b1 100644
(file)
--- 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 */