aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 174e5392e51e..5da166e560c2 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -955,6 +955,11 @@ static inline int pci_proc_domain(struct pci_bus *bus)
955} 955}
956#endif /* CONFIG_PCI_DOMAINS */ 956#endif /* CONFIG_PCI_DOMAINS */
957 957
958/* some architectures require additional setup to direct VGA traffic */
959typedef int (*arch_set_vga_state_t)(struct pci_dev *pdev, bool decode,
960 unsigned int command_bits, bool change_bridge);
961extern void pci_register_set_vga_state(arch_set_vga_state_t func);
962
958#else /* CONFIG_PCI is not enabled */ 963#else /* CONFIG_PCI is not enabled */
959 964
960/* 965/*