Resolve conflict with function defined in PPC kernel
authorDavid Schleef <ds@schleef.org>
Sat, 14 Jul 2001 21:41:24 +0000 (21:41 +0000)
committerDavid Schleef <ds@schleef.org>
Sat, 14 Jul 2001 21:41:24 +0000 (21:41 +0000)
comedi/drivers/ni_at_a2150.c

index fca35ba8e52e1f7ffcc9925b332d95d66767ed2b..364daf653789b5fd356d1bf1cfe25c86751ac650 100644 (file)
@@ -169,7 +169,7 @@ COMEDI_INITCLEANUP(driver_a2150);
 
 #ifdef A2150_DEBUG
 
-void dump_regs(comedi_device *dev)
+void ni_dump_regs(comedi_device *dev)
 {
        rt_printk("config bits 0x%x\n", devpriv->config_bits);
        rt_printk("irq dma bits 0x%x\n", devpriv->irq_dma_bits);
@@ -661,7 +661,7 @@ static int a2150_ai_cmd(comedi_device *dev, comedi_subdevice *s)
        outw(0, dev->iobase + FIFO_START_REG);
 
 #ifdef A2150_DEBUG
-       dump_regs(dev);
+       ni_dump_regs(dev);
 #endif
 
        return 0;