dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [patch 2/2] include/linux/vgaarb.h: add missing part of include guard
@ 2010-07-20 22:22 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2010-07-20 22:22 UTC (permalink / raw)
  To: airlied; +Cc: airlied, akpm, cardoe, dri-devel

From: Doug Goldstein <cardoe@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@gentoo.org>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Andrew Morton <akpm@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>
 
_

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-20 22:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-20 22:22 [patch 2/2] include/linux/vgaarb.h: add missing part of include guard akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox