aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-sa1100/pci-nanoengine.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-sa1100/pci-nanoengine.c')
-rw-r--r--arch/arm/mach-sa1100/pci-nanoengine.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-sa1100/pci-nanoengine.c b/arch/arm/mach-sa1100/pci-nanoengine.c
index fba7a913f12b..964c6c3cd7a6 100644
--- a/arch/arm/mach-sa1100/pci-nanoengine.c
+++ b/arch/arm/mach-sa1100/pci-nanoengine.c
@@ -122,7 +122,8 @@ static struct pci_ops pci_nano_ops = {
122 .write = nanoengine_write_config, 122 .write = nanoengine_write_config,
123}; 123};
124 124
125static int __init pci_nanoengine_map_irq(struct pci_dev *dev, u8 slot, u8 pin) 125static int __init pci_nanoengine_map_irq(const struct pci_dev *dev, u8 slot,
126 u8 pin)
126{ 127{
127 return NANOENGINE_IRQ_GPIO_PCI; 128 return NANOENGINE_IRQ_GPIO_PCI;
128} 129}
@@ -252,6 +253,9 @@ int __init pci_nanoengine_setup(int nr, struct pci_sys_data *sys)
252{ 253{
253 int ret = 0; 254 int ret = 0;
254 255
256 pcibios_min_io = 0;
257 pcibios_min_mem = 0;
258
255 if (nr == 0) { 259 if (nr == 0) {
256 sys->mem_offset = NANO_PCI_MEM_RW_PHYS; 260 sys->mem_offset = NANO_PCI_MEM_RW_PHYS;
257 sys->io_offset = 0x400; 261 sys->io_offset = 0x400;