From 2af9aebdef5adbdca7edee4a7d3bd4e3d202e762 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Sat, 13 Apr 2013 23:08:55 +0200 Subject: [PATCH] backports: add vgaarb.h This is needed as old versions of it didn't properly declare struct pci_dev. Additionally, not all versions included video/vga.h which causes issues as that pulls in some required definitions. Signed-off-by: Johannes Berg --- backport/backport-include/linux/vgaarb.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 backport/backport-include/linux/vgaarb.h diff --git a/backport/backport-include/linux/vgaarb.h b/backport/backport-include/linux/vgaarb.h new file mode 100644 index 000000000000..92f5a72f7a03 --- /dev/null +++ b/backport/backport-include/linux/vgaarb.h @@ -0,0 +1,10 @@ +#ifndef __BACKPORT_LINUX_VGAARB_H +#define __BACKPORT_LINUX_VGAARB_H +#include +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0) +struct pci_dev; +#endif +#include