These defines are only used in the request_irq() calls. Remove them
and just open code the values.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
#define IRQ_POLARITY 0
-#define NI_E_IRQ_FLAGS 0
-
#include "ni_mio_common.c"
static struct pnp_device_id device_ids[] = {
return -EINVAL;
}
printk(" ( irq = %u )", irq);
- ret = request_irq(irq, ni_E_interrupt, NI_E_IRQ_FLAGS,
+ ret = request_irq(irq, ni_E_interrupt, 0,
"ni_atmio", dev);
if (ret < 0) {
#define IRQ_POLARITY 1
-#define NI_E_IRQ_FLAGS IRQF_SHARED
-
#include "ni_mio_common.c"
static int pcimio_ai_change(struct comedi_device *dev,
irq = mite_irq(devpriv->mite);
if (irq) {
- ret = request_irq(irq, ni_E_interrupt, NI_E_IRQ_FLAGS,
+ ret = request_irq(irq, ni_E_interrupt, IRQF_SHARED,
dev->board_name, dev);
if (ret == 0)
dev->irq = irq;