From: Ian Abbott Date: Thu, 10 Apr 2008 17:18:11 +0000 (+0000) Subject: I broke it in the previous commit. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dc06486af8d6d0543f7b12197e69e839385c2048;p=comedi.git I broke it in the previous commit. --- diff --git a/comedi/drivers/amplc_pc236.c b/comedi/drivers/amplc_pc236.c index 4224f469..a1e5e695 100644 --- a/comedi/drivers/amplc_pc236.c +++ b/comedi/drivers/amplc_pc236.c @@ -452,6 +452,7 @@ static int pc236_intr_check(comedi_device * dev) comedi_spin_lock_irqsave(&dev->spinlock, flags); if (devpriv->enable_irq) { retval = 1; +#ifdef CONFIG_COMEDI_PCI if (devpriv->lcr_iobase) { if ((inl(devpriv->lcr_iobase + PLX9052_INTCSR) & PLX9052_INTCSR_LI1STAT_MASK) @@ -463,6 +464,7 @@ static int pc236_intr_check(comedi_device * dev) devpriv->lcr_iobase + PLX9052_INTCSR); } } +#endif } comedi_spin_unlock_irqrestore(&dev->spinlock, flags);