Skip to content

Commit

Permalink
vga_switcheroo: Add include guard
Browse files Browse the repository at this point in the history
Guard vga_switcheroo.h against multiple inclusion.

Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Ozan Çağlayan authored and Dave Airlie committed Jun 21, 2012
1 parent b7019b2 commit d3decf3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/linux/vga_switcheroo.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -73,3 +76,4 @@ static inline int vga_switcheroo_get_client_state(struct pci_dev *dev) { return


#endif
#endif /* _LINUX_VGA_SWITCHEROO_H_ */

0 comments on commit d3decf3

Please sign in to comment.