diff options
author | Ozan Çağlayan <ozancag@gmail.com> | 2012-06-14 08:02:35 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-06-21 04:32:16 -0400 |
commit | d3decf3a0c1d28c80c76be170373f4c7a7217f09 (patch) | |
tree | e91e467d199da7e15ddaa11ebee8c4af3bc4f023 /include | |
parent | b7019b2f31fe7bec9f6f5dc1bf54cb0e0d73e047 (diff) |
vga_switcheroo: Add include guard
Guard vga_switcheroo.h against multiple inclusion.
Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/vga_switcheroo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/vga_switcheroo.h b/include/linux/vga_switcheroo.h index d844b7790ea6..ddb419cf4530 100644 --- a/include/linux/vga_switcheroo.h +++ b/include/linux/vga_switcheroo.h | |||
@@ -7,6 +7,9 @@ | |||
7 | * vga_switcheroo.h - Support for laptop with dual GPU using one set of outputs | 7 | * vga_switcheroo.h - Support for laptop with dual GPU using one set of outputs |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #ifndef _LINUX_VGA_SWITCHEROO_H_ | ||
11 | #define _LINUX_VGA_SWITCHEROO_H_ | ||
12 | |||
10 | #include <linux/fb.h> | 13 | #include <linux/fb.h> |
11 | 14 | ||
12 | struct pci_dev; | 15 | struct pci_dev; |
@@ -73,3 +76,4 @@ static inline int vga_switcheroo_get_client_state(struct pci_dev *dev) { return | |||
73 | 76 | ||
74 | 77 | ||
75 | #endif | 78 | #endif |
79 | #endif /* _LINUX_VGA_SWITCHEROO_H_ */ | ||