#include <linux/pci.h>
#include <linux/delay.h>
-
+#include <linux/jiffies.h>
#include <asm/irq.h>
#include <asm/hardware.h>
#include <asm/sizes.h>
+#include <asm/signal.h>
#include <asm/mach/pci.h>
#include <asm/arch/pci.h>
}
}
- static inline int iop13xx_atu_function(int atu)
+ static int iop13xx_atu_function(int atu)
{
int func = 0;
/* the function number depends on the value of the
* data. Note that the data dependency on %0 encourages an abort
* to be detected before we return.
*/
- static inline u32 iop13xx_atux_read(unsigned long addr)
+ static u32 iop13xx_atux_read(unsigned long addr)
{
u32 val;
return err;
}
- static inline int __init
+ static int
iop13xx_pcie_map_irq(struct pci_dev *dev, u8 idsel, u8 pin)
{
WARN_ON(idsel != 0);
}
}
- static inline u32 iop13xx_atue_read(unsigned long addr)
+ static u32 iop13xx_atue_read(unsigned long addr)
{
u32 val;
"imprecise external abort");
}
- /* intialize the pci memory space. handle any combination of
+ /* initialize the pci memory space. handle any combination of
* atue and atux enabled/disabled
*/
int iop13xx_pci_setup(int nr, struct pci_sys_data *sys)
#include <linux/ioport.h>
#include <asm/io.h>
#include <asm/irq.h>
+#include <asm/signal.h>
#include <asm/system.h>
#include <asm/hardware.h>
#include <asm/mach/pci.h>
/*
* Simply write the address register and read the configuration
- * data. Note that the 4 nop's ensure that we are able to handle
+ * data. Note that the 4 nops ensure that we are able to handle
* a delayed abort (in theory.)
*/
- static inline u32 iop3xx_read(unsigned long addr)
+ static u32 iop3xx_read(unsigned long addr)
{
u32 val;
/* Flag to determine whether the ATU is initialized and the PCI bus scanned */
int init_atu;
- void iop3xx_pci_preinit(void)
+ void __init iop3xx_pci_preinit(void)
{
if (iop3xx_get_init_atu() == IOP3XX_INIT_ATU_ENABLE) {
iop3xx_atu_disable();