[PATCH] vgaarb: Forward declaration of 'struct pci_dev'

2012-04-03 Thread Chris Wilson
Under a minimalist configuration, it is possible for i915 to include vgaarb.h without including any pci header before hand. Silence the compiler by providing an opaque forward declaration of 'struct pci_dev' In file included from drivers/gpu/drm/i915/intel_display.c:33:0: include/linux/vgaarb.h:66

[PATCH] vgaarb: Forward declaration of 'struct pci_dev'

2012-04-03 Thread Chris Wilson
Under a minimalist configuration, it is possible for i915 to include vgaarb.h without including any pci header before hand. Silence the compiler by providing an opaque forward declaration of 'struct pci_dev' In file included from drivers/gpu/drm/i915/intel_display.c:33:0: include/linux/vgaarb.h:66