[patch 2/2] include/linux/vgaarb.h: add missing part of include guard

akpm at linux-foundation.org akpm at linux-foundation.org
Tue Jul 20 15:22:25 PDT 2010


From: Doug Goldstein <cardoe at gentoo.org>

vgaarb.h was missing the #define of the #ifndef at the top for the guard
to prevent multiple #include's from causing re-define errors

Signed-off-by: Doug Goldstein <cardoe at gentoo.org>
Cc: Dave Airlie <airlied at redhat.com>
Cc: Jesse Barnes <jbarnes at virtuousgeek.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
---

 include/linux/vgaarb.h |    1 +
 1 file changed, 1 insertion(+)

diff -puN include/linux/vgaarb.h~include-linux-vgaarbh-add-missing-part-of-include-guard include/linux/vgaarb.h
--- a/include/linux/vgaarb.h~include-linux-vgaarbh-add-missing-part-of-include-guard
+++ a/include/linux/vgaarb.h
@@ -29,6 +29,7 @@
  */
 
 #ifndef LINUX_VGA_H
+#define LINUX_VGA_H
 
 #include <asm/vga.h>
 
_


More information about the dri-devel mailing list