diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2006-01-25 19:55:35 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-23 17:35:10 -0500 |
commit | 926030f6af856d5681af7940239da2b0269cd755 (patch) | |
tree | 3394c11c599dbdb853a10b0b82a28d29e2bf9e7d /drivers/pci/hotplug/shpchp.h | |
parent | 6aa4cdd07139ba4d5b89139b0070d795cc4dea88 (diff) |
[PATCH] shpchp - cleanup init_slots()
This patch cleanups init_slots() function of SHPCHP driver based on
pcihp_skelton.c. This patch has no functional change.
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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, |