projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7019b2
)
vga_switcheroo: Add include guard
author
Ozan Çağlayan
<ozancag@gmail.com>
Thu, 14 Jun 2012 12:02:35 +0000
(15:02 +0300)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 21 Jun 2012 08:32:16 +0000
(09:32 +0100)
Guard vga_switcheroo.h against multiple inclusion.
Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
include/linux/vga_switcheroo.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/vga_switcheroo.h
b/include/linux/vga_switcheroo.h
index d844b7790ea6671e0801649b3f040a2900ef8448..ddb419cf4530339f37d7e239d134cc4222d3d900 100644
(file)
--- a/
include/linux/vga_switcheroo.h
+++ b/
include/linux/vga_switcheroo.h
@@
-7,6
+7,9
@@
* vga_switcheroo.h - Support for laptop with dual GPU using one set of outputs
*/
+#ifndef _LINUX_VGA_SWITCHEROO_H_
+#define _LINUX_VGA_SWITCHEROO_H_
+
#include <linux/fb.h>
struct pci_dev;
@@
-73,3
+76,4
@@
static inline int vga_switcheroo_get_client_state(struct pci_dev *dev) { return
#endif
+#endif /* _LINUX_VGA_SWITCHEROO_H_ */