summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <greg@kroah.com>2002-10-02 23:36:51 -0700
committerGreg Kroah-Hartman <greg@kroah.com>2002-10-02 23:36:51 -0700
commitc2c0b5d0011d37771b34bd661a0e7509807ad79d (patch)
tree43713147bbe0320afa9f0e328842e607a3afa042 /include/linux
parentf7ce058bb40beb1114206b4557c6b80fa345db30 (diff)
PCI: remove pcibios_find_class()
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/pci.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index ba2e997304fd..ec8f0686e24a 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -533,7 +533,6 @@ int pcibios_write_config_word (unsigned char bus, unsigned char dev_fn,
unsigned char where, unsigned short val);
int pcibios_write_config_dword (unsigned char bus, unsigned char dev_fn,
unsigned char where, unsigned int val);
-int pcibios_find_class (unsigned int class_code, unsigned short index, unsigned char *bus, unsigned char *dev_fn);
int pcibios_find_device (unsigned short vendor, unsigned short dev_id,
unsigned short index, unsigned char *bus,
unsigned char *dev_fn);
@@ -661,8 +660,6 @@ void pci_pool_free (struct pci_pool *pool, void *vaddr, dma_addr_t addr);
#ifndef CONFIG_PCI
static inline int pcibios_present(void) { return 0; }
-static inline int pcibios_find_class (unsigned int class_code, unsigned short index, unsigned char *bus, unsigned char *dev_fn)
-{ return PCIBIOS_DEVICE_NOT_FOUND; }
#define _PCI_NOP(o,s,t) \
static inline int pcibios_##o##_config_##s (u8 bus, u8 dfn, u8 where, t val) \