Commit 48d7217f authored by Russell King's avatar Russell King

[ARM] 2.5.48 Build fixes (round 2)

This cset fixes various PCI and FPA11 FPE related build warnings and
errors resulting from changes from 2.5.47 to 2.5.48.
parent 80ffbe9f
......@@ -270,7 +270,7 @@ pcibios_update_resource(struct pci_dev *dev, struct resource *root,
if (debug_pci)
printk("PCI: Assigning %3s %08lx to %s\n",
res->flags & IORESOURCE_IO ? "IO" : "MEM",
res->start, dev->name);
res->start, dev->dev.name);
if (resource < 6) {
reg = PCI_BASE_ADDRESS_0 + 4*resource;
......@@ -303,7 +303,7 @@ pcibios_update_resource(struct pci_dev *dev, struct resource *root,
void __devinit pcibios_update_irq(struct pci_dev *dev, int irq)
{
if (debug_pci)
printk("PCI: Assigning IRQ %02d to %s\n", irq, dev->name);
printk("PCI: Assigning IRQ %02d to %s\n", irq, dev->dev.name);
pci_write_config_byte(dev, PCI_INTERRUPT_LINE, irq);
}
......@@ -642,7 +642,7 @@ int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma,
enum pci_mmap_state mmap_state, int write_combine)
{
struct pci_sys_data *root = dev->sysdata;
unsigned long prot, phys;
unsigned long phys;
if (mmap_state == pci_mmap_io) {
return -EINVAL;
......
......@@ -193,7 +193,7 @@ irq_prio_ld: .byte 40,40,41,40,42,42,42,42,43,43,43,43,43,43,43,43
mov \irqstat, #0x0C
strb \irqstat, [r4, #0x20] @outb(0x0C, 0x20) /* Poll command */
ldrb \irqnr, [r4, #0x10] @irq = inb(0x20) & 7
ldrb \irqnr, [r4, #0x20] @irq = inb(0x20) & 7
and \irqstat, \irqnr, #0x80
teq \irqstat, #0
beq 43f
......
......@@ -37,7 +37,7 @@ static int __init netwinder_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
default:
printk(KERN_ERR "PCI: unknown device in slot %s: %s\n",
dev->slot_name, dev->name);
dev->slot_name, dev->dev.name);
return 0;
}
}
......
......@@ -379,7 +379,7 @@ static int __init pci_v3_setup_resources(struct resource **resource)
*/
resource[0] = &ioport_resource;
resource[1] = &non_mem;
// resource[2] = &pre_mem;
resource[2] = &pre_mem;
return 1;
}
......
......@@ -26,6 +26,7 @@
#include "fpmodule.inl"
#include <linux/compiler.h>
#include <linux/string.h>
#include <asm/system.h>
/* forward declarations */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment