===== drivers/scsi/aic7xxx/aic7xxx_osm.h 1.50 vs edited ===== --- 1.50/drivers/scsi/aic7xxx/aic7xxx_osm.h Fri May 2 15:26:21 2003 +++ edited/drivers/scsi/aic7xxx/aic7xxx_osm.h Thu Aug 28 12:05:26 2003 @@ -852,10 +852,16 @@ int aic7770_map_int(struct ahc_softc *ahc, u_int irq); /******************************* PCI Routines *********************************/ +#ifdef CONFIG_PCI int ahc_linux_pci_init(void); void ahc_linux_pci_exit(void); int ahc_pci_map_registers(struct ahc_softc *ahc); int ahc_pci_map_int(struct ahc_softc *ahc); +#else +static inline void ahc_linux_pci_exit(void) +{ +} +#endif static __inline uint32_t ahc_pci_read_config(ahc_dev_softc_t pci, int reg, int width);