Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[deliverable/linux.git] / include / linux / vgaarb.h
index c37bd4d06739034cf9592305a152f9ed6eb35db3..8c3b412d84df38e37465e841996eee50ecfc50b7 100644 (file)
@@ -65,8 +65,13 @@ struct pci_dev;
  *     out of the arbitration process (and can be safe to take
  *     interrupts at any time.
  */
+#if defined(CONFIG_VGA_ARB)
 extern void vga_set_legacy_decoding(struct pci_dev *pdev,
                                    unsigned int decodes);
+#else
+static inline void vga_set_legacy_decoding(struct pci_dev *pdev,
+                                          unsigned int decodes) { };
+#endif
 
 /**
  *     vga_get         - acquire & locks VGA resources
This page took 0.025258 seconds and 5 git commands to generate.