diff options
Diffstat (limited to 'drivers/pci/hotplug/shpchp.h')
-rw-r--r-- | drivers/pci/hotplug/shpchp.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/pci/hotplug/shpchp.h b/drivers/pci/hotplug/shpchp.h index 5a22a43cc387..e03ee0826700 100644 --- a/drivers/pci/hotplug/shpchp.h +++ b/drivers/pci/hotplug/shpchp.h | |||
@@ -428,13 +428,6 @@ static inline void amd_pogo_errata_restore_misc_reg(struct slot *p_slot) | |||
428 | pci_write_config_dword(p_slot->ctrl->pci_dev, PCIX_MISCII_OFFSET, pcix_misc2_temp); | 428 | pci_write_config_dword(p_slot->ctrl->pci_dev, PCIX_MISCII_OFFSET, pcix_misc2_temp); |
429 | } | 429 | } |
430 | 430 | ||
431 | #define SLOT_NAME_SIZE 10 | ||
432 | |||
433 | static inline void make_slot_name(char *buffer, int buffer_size, struct slot *slot) | ||
434 | { | ||
435 | snprintf(buffer, buffer_size, "%04d_%04d", slot->bus, slot->number); | ||
436 | } | ||
437 | |||
438 | enum php_ctlr_type { | 431 | enum php_ctlr_type { |
439 | PCI, | 432 | PCI, |
440 | ISA, | 433 | ISA, |