diff options
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index ee2179546c63..d03d2463efac 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -588,7 +588,7 @@ struct pci_driver { | |||
588 | * in a generic manner. | 588 | * in a generic manner. |
589 | */ | 589 | */ |
590 | #define DEFINE_PCI_DEVICE_TABLE(_table) \ | 590 | #define DEFINE_PCI_DEVICE_TABLE(_table) \ |
591 | const struct pci_device_id _table[] __devinitconst | 591 | const struct pci_device_id _table[] |
592 | 592 | ||
593 | /** | 593 | /** |
594 | * PCI_DEVICE - macro used to describe a specific pci device | 594 | * PCI_DEVICE - macro used to describe a specific pci device |
@@ -686,7 +686,7 @@ struct pci_bus *pci_create_root_bus(struct device *parent, int bus, | |||
686 | int pci_bus_insert_busn_res(struct pci_bus *b, int bus, int busmax); | 686 | int pci_bus_insert_busn_res(struct pci_bus *b, int bus, int busmax); |
687 | int pci_bus_update_busn_res_end(struct pci_bus *b, int busmax); | 687 | int pci_bus_update_busn_res_end(struct pci_bus *b, int busmax); |
688 | void pci_bus_release_busn_res(struct pci_bus *b); | 688 | void pci_bus_release_busn_res(struct pci_bus *b); |
689 | struct pci_bus * __devinit pci_scan_root_bus(struct device *parent, int bus, | 689 | struct pci_bus *pci_scan_root_bus(struct device *parent, int bus, |
690 | struct pci_ops *ops, void *sysdata, | 690 | struct pci_ops *ops, void *sysdata, |
691 | struct list_head *resources); | 691 | struct list_head *resources); |
692 | struct pci_bus *pci_add_new_bus(struct pci_bus *parent, struct pci_dev *dev, | 692 | struct pci_bus *pci_add_new_bus(struct pci_bus *parent, struct pci_dev *dev, |
@@ -941,10 +941,8 @@ void set_pcie_hotplug_bridge(struct pci_dev *pdev); | |||
941 | 941 | ||
942 | /* Functions for PCI Hotplug drivers to use */ | 942 | /* Functions for PCI Hotplug drivers to use */ |
943 | int pci_bus_find_capability(struct pci_bus *bus, unsigned int devfn, int cap); | 943 | int pci_bus_find_capability(struct pci_bus *bus, unsigned int devfn, int cap); |
944 | #ifdef CONFIG_HOTPLUG | ||
945 | unsigned int pci_rescan_bus_bridge_resize(struct pci_dev *bridge); | 944 | unsigned int pci_rescan_bus_bridge_resize(struct pci_dev *bridge); |
946 | unsigned int pci_rescan_bus(struct pci_bus *bus); | 945 | unsigned int pci_rescan_bus(struct pci_bus *bus); |
947 | #endif | ||
948 | 946 | ||
949 | /* Vital product data routines */ | 947 | /* Vital product data routines */ |
950 | ssize_t pci_read_vpd(struct pci_dev *dev, loff_t pos, size_t count, void *buf); | 948 | ssize_t pci_read_vpd(struct pci_dev *dev, loff_t pos, size_t count, void *buf); |
@@ -1580,7 +1578,7 @@ extern int pci_pci_problems; | |||
1580 | 1578 | ||
1581 | extern unsigned long pci_cardbus_io_size; | 1579 | extern unsigned long pci_cardbus_io_size; |
1582 | extern unsigned long pci_cardbus_mem_size; | 1580 | extern unsigned long pci_cardbus_mem_size; |
1583 | extern u8 __devinitdata pci_dfl_cache_line_size; | 1581 | extern u8 pci_dfl_cache_line_size; |
1584 | extern u8 pci_cache_line_size; | 1582 | extern u8 pci_cache_line_size; |
1585 | 1583 | ||
1586 | extern unsigned long pci_hotplug_io_size; | 1584 | extern unsigned long pci_hotplug_io_size; |