X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Fpci%2Fhotplug%2Fshpchp.h;h=b7d1c61d6bbbe8aa30674a6fdea8790e527e8a67;hb=41c29dd15b5c36bacdb06ee11facb9199d0b2de0;hp=fe4d653da18849f9a7793b62630c45ec009e2139;hpb=a3bc068022b968a3042b48eb9a8e8b0418fb9cdd;p=powerpc.git diff --git a/drivers/pci/hotplug/shpchp.h b/drivers/pci/hotplug/shpchp.h index fe4d653da1..b7d1c61d6b 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 static inline void make_slot_name(char *buffer, int buffer_size, struct slot *slot) { - snprintf(buffer, buffer_size, "%d", slot->number); + snprintf(buffer, buffer_size, "%04d_%04d", slot->bus, slot->number); } enum php_ctlr_type {