diff options
Diffstat (limited to 'arch/tile/kernel/pci.c')
| -rw-r--r-- | arch/tile/kernel/pci.c | 27 | 
1 files changed, 6 insertions, 21 deletions
diff --git a/arch/tile/kernel/pci.c b/arch/tile/kernel/pci.c index 2a8014cb1ff5..a1bb59eecc18 100644 --- a/arch/tile/kernel/pci.c +++ b/arch/tile/kernel/pci.c @@ -24,6 +24,7 @@  #include <linux/irq.h>  #include <linux/io.h>  #include <linux/uaccess.h> +#include <linux/export.h>  #include <asm/processor.h>  #include <asm/sections.h> @@ -394,6 +395,11 @@ void __devinit pcibios_fixup_bus(struct pci_bus *bus)  	/* Nothing needs to be done. */  } +void pcibios_set_master(struct pci_dev *dev) +{ +	/* No special bus mastering setup handling. */ +} +  /*   * This can be called from the generic PCI layer, but doesn't need to   * do anything. @@ -465,27 +471,6 @@ int pcibios_enable_device(struct pci_dev *dev, int mask)  	return 0;  } -void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max) -{ -	unsigned long start = pci_resource_start(dev, bar); -	unsigned long len = pci_resource_len(dev, bar); -	unsigned long flags = pci_resource_flags(dev, bar); - -	if (!len) -		return NULL; -	if (max && len > max) -		len = max; - -	if (!(flags & IORESOURCE_MEM)) { -		pr_info("PCI: Trying to map invalid resource %#lx\n", flags); -		start = 0; -	} - -	return (void __iomem *)start; -} -EXPORT_SYMBOL(pci_iomap); - -  /****************************************************************   *   * Tile PCI config space read/write routines  |