vga_switcheroo: Add include guard
Subsystems (3)
PATCH 1/1 vga_switcheroo: Add include guard
Guard vga_switcheroo.h against multiple inclusion.
Signed-off-by Ozan Çağlayan <[email protected]>
--- include/linux/vga_switcheroo.h | 4 ++++ 1 file changed, 4 insertions(+)
include/linux/vga_switcheroo.h +4 -0
@@ -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> enum vga_switcheroo_state {
@@ -64,3 +67,4 @@ static inline void vga_switcheroo_unregister_handler(void) {}static inline int vga_switcheroo_process_delayed_switch (void ) {return 0 ; }#endif +#endif /* _LINUX_VGA_SWITCHEROO_H_ */
Signature · 6 lines
1.7.10.2 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 6 lines · Ozan Çağlayan
Guard
vga_switcheroo.hagainst multiple inclusion.Signed-off-by Ozan Çağlayan <[email protected]>---
include/linux/vga_switcheroo.h | 4 ++++1 file changed, 4 insertions(+)
ping, in case you missed this :)
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel