aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/pciehp.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/hotplug/pciehp.h')
-rw-r--r--drivers/pci/hotplug/pciehp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/pciehp.h b/drivers/pci/hotplug/pciehp.h
index 2b92b9e8c910..061ead21ef14 100644
--- a/drivers/pci/hotplug/pciehp.h
+++ b/drivers/pci/hotplug/pciehp.h
@@ -302,7 +302,7 @@ static inline void return_resource(struct pci_resource **head, struct pci_resour
302 302
303static inline void make_slot_name(char *buffer, int buffer_size, struct slot *slot) 303static inline void make_slot_name(char *buffer, int buffer_size, struct slot *slot)
304{ 304{
305 snprintf(buffer, buffer_size, "%d", slot->number); 305 snprintf(buffer, buffer_size, "%04d_%04d", slot->bus, slot->number);
306} 306}
307 307
308enum php_ctlr_type { 308enum php_ctlr_type {