diff options
Diffstat (limited to 'arch/mips/pci')
-rw-r--r-- | arch/mips/pci/fixup-au1000.c | 5 | ||||
-rw-r--r-- | arch/mips/pci/ops-pnx8550.c | 4 |
2 files changed, 3 insertions, 6 deletions
diff --git a/arch/mips/pci/fixup-au1000.c b/arch/mips/pci/fixup-au1000.c index ca0276c8070a..00c36c9dbe0e 100644 --- a/arch/mips/pci/fixup-au1000.c +++ b/arch/mips/pci/fixup-au1000.c | |||
@@ -26,13 +26,10 @@ | |||
26 | * with this program; if not, write to the Free Software Foundation, Inc., | 26 | * with this program; if not, write to the Free Software Foundation, Inc., |
27 | * 675 Mass Ave, Cambridge, MA 02139, USA. | 27 | * 675 Mass Ave, Cambridge, MA 02139, USA. |
28 | */ | 28 | */ |
29 | #include <linux/types.h> | 29 | |
30 | #include <linux/pci.h> | 30 | #include <linux/pci.h> |
31 | #include <linux/kernel.h> | ||
32 | #include <linux/init.h> | 31 | #include <linux/init.h> |
33 | 32 | ||
34 | #include <asm/mach-au1x00/au1000.h> | ||
35 | |||
36 | extern char irq_tab_alchemy[][5]; | 33 | extern char irq_tab_alchemy[][5]; |
37 | 34 | ||
38 | int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) | 35 | int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) |
diff --git a/arch/mips/pci/ops-pnx8550.c b/arch/mips/pci/ops-pnx8550.c index d61064652498..0e160d9f07c3 100644 --- a/arch/mips/pci/ops-pnx8550.c +++ b/arch/mips/pci/ops-pnx8550.c | |||
@@ -90,14 +90,14 @@ config_access(unsigned int pci_cmd, struct pci_bus *bus, unsigned int devfn, int | |||
90 | 90 | ||
91 | loops--; | 91 | loops--; |
92 | if (loops == 0) { | 92 | if (loops == 0) { |
93 | printk("%s : Arbiter Locked.\n", __FUNCTION__); | 93 | printk("%s : Arbiter Locked.\n", __func__); |
94 | } | 94 | } |
95 | } | 95 | } |
96 | 96 | ||
97 | clear_status(); | 97 | clear_status(); |
98 | if ((pci_cmd == PCI_CMD_IOR) || (pci_cmd == PCI_CMD_IOW)) { | 98 | if ((pci_cmd == PCI_CMD_IOR) || (pci_cmd == PCI_CMD_IOW)) { |
99 | printk("%s timeout (GPPM_CTRL=%X) ioaddr %lX pci_cmd %X\n", | 99 | printk("%s timeout (GPPM_CTRL=%X) ioaddr %lX pci_cmd %X\n", |
100 | __FUNCTION__, inl(PCI_BASE | PCI_GPPM_CTRL), ioaddr, | 100 | __func__, inl(PCI_BASE | PCI_GPPM_CTRL), ioaddr, |
101 | pci_cmd); | 101 | pci_cmd); |
102 | } | 102 | } |
103 | 103 | ||