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 <johannes.berg@intel.com>
--- /dev/null
+#ifndef __BACKPORT_LINUX_VGAARB_H
+#define __BACKPORT_LINUX_VGAARB_H
+#include <linux/version.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0)
+struct pci_dev;
+#endif
+#include <video/vga.h>
+#include_next <linux/vgaarb.h>
+
+#endif /* __BACKPORT_LINUX_VGAARB_H */