提交 d3decf3a 编写于 作者: O Ozan Çağlayan 提交者: Dave Airlie

vga_switcheroo: Add include guard

Guard vga_switcheroo.h against multiple inclusion.
Signed-off-by: NOzan Çağlayan <ozancag@gmail.com>
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 b7019b2f
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
* vga_switcheroo.h - Support for laptop with dual GPU using one set of outputs * 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> #include <linux/fb.h>
struct pci_dev; struct pci_dev;
...@@ -73,3 +76,4 @@ static inline int vga_switcheroo_get_client_state(struct pci_dev *dev) { return ...@@ -73,3 +76,4 @@ static inline int vga_switcheroo_get_client_state(struct pci_dev *dev) { return
#endif #endif
#endif /* _LINUX_VGA_SWITCHEROO_H_ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册