aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-iop13xx/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-iop13xx/pci.c')
-rw-r--r--arch/arm/mach-iop13xx/pci.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-iop13xx/pci.c b/arch/arm/mach-iop13xx/pci.c
index 6baeb26c3aa3..9d63d7f260ca 100644
--- a/arch/arm/mach-iop13xx/pci.c
+++ b/arch/arm/mach-iop13xx/pci.c
@@ -145,7 +145,7 @@ void iop13xx_map_pci_memory(void)
145 } 145 }
146} 146}
147 147
148static inline int iop13xx_atu_function(int atu) 148static int iop13xx_atu_function(int atu)
149{ 149{
150 int func = 0; 150 int func = 0;
151 /* the function number depends on the value of the 151 /* the function number depends on the value of the
@@ -260,7 +260,7 @@ static int iop13xx_atux_pci_status(int clear)
260 * data. Note that the data dependency on %0 encourages an abort 260 * data. Note that the data dependency on %0 encourages an abort
261 * to be detected before we return. 261 * to be detected before we return.
262 */ 262 */
263static inline u32 iop13xx_atux_read(unsigned long addr) 263static u32 iop13xx_atux_read(unsigned long addr)
264{ 264{
265 u32 val; 265 u32 val;
266 266
@@ -388,7 +388,7 @@ static int iop13xx_atue_pci_status(int clear)
388 return err; 388 return err;
389} 389}
390 390
391static inline int __init 391static int
392iop13xx_pcie_map_irq(struct pci_dev *dev, u8 idsel, u8 pin) 392iop13xx_pcie_map_irq(struct pci_dev *dev, u8 idsel, u8 pin)
393{ 393{
394 WARN_ON(idsel != 0); 394 WARN_ON(idsel != 0);
@@ -402,7 +402,7 @@ iop13xx_pcie_map_irq(struct pci_dev *dev, u8 idsel, u8 pin)
402 } 402 }
403} 403}
404 404
405static inline u32 iop13xx_atue_read(unsigned long addr) 405static u32 iop13xx_atue_read(unsigned long addr)
406{ 406{
407 u32 val; 407 u32 val;
408 408
@@ -990,7 +990,7 @@ void __init iop13xx_pci_init(void)
990 "imprecise external abort"); 990 "imprecise external abort");
991} 991}
992 992
993/* intialize the pci memory space. handle any combination of 993/* initialize the pci memory space. handle any combination of
994 * atue and atux enabled/disabled 994 * atue and atux enabled/disabled
995 */ 995 */
996int iop13xx_pci_setup(int nr, struct pci_sys_data *sys) 996int iop13xx_pci_setup(int nr, struct pci_sys_data *sys)