diff options
Diffstat (limited to 'drivers/pci/hotplug/shpchp.h')
-rw-r--r-- | drivers/pci/hotplug/shpchp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/shpchp.h b/drivers/pci/hotplug/shpchp.h index fe4d653da188..b7d1c61d6bbb 100644 --- a/drivers/pci/hotplug/shpchp.h +++ b/drivers/pci/hotplug/shpchp.h | |||
@@ -411,7 +411,7 @@ static inline void return_resource(struct pci_resource **head, struct pci_resour | |||
411 | 411 | ||
412 | static inline void make_slot_name(char *buffer, int buffer_size, struct slot *slot) | 412 | static inline void make_slot_name(char *buffer, int buffer_size, struct slot *slot) |
413 | { | 413 | { |
414 | snprintf(buffer, buffer_size, "%d", slot->number); | 414 | snprintf(buffer, buffer_size, "%04d_%04d", slot->bus, slot->number); |
415 | } | 415 | } |
416 | 416 | ||
417 | enum php_ctlr_type { | 417 | enum php_ctlr_type { |