From 63eceba1e3a4fad6a346ba804d1b9be43898abb9 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Thu, 24 Jul 2003 18:37:36 -0700 Subject: [SPARC64]: Use domain in naming PCI buses. --- include/asm-sparc64/pci.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'include') diff --git a/include/asm-sparc64/pci.h b/include/asm-sparc64/pci.h index c276200453a3..2dbd268962e6 100644 --- a/include/asm-sparc64/pci.h +++ b/include/asm-sparc64/pci.h @@ -190,13 +190,7 @@ pci_dac_dma_sync_single(struct pci_dev *pdev, dma64_addr_t dma_addr, size_t len, /* Return the index of the PCI controller for device PDEV. */ extern int pci_domain_nr(struct pci_bus *bus); - -/* Set the name of the bus as it appears in /proc/bus/pci */ -static inline int pci_name_bus(char *name, struct pci_bus *bus) -{ - sprintf(name, "%02x", bus->number); - return 0; -} +extern int pci_name_bus(char *name, struct pci_bus *bus); /* Platform support for /proc/bus/pci/X/Y mmap()s. */ -- cgit v1.2.3