Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259718
b: refs/heads/master
c: ee4d07d
h: refs/heads/master
v: v3
  • Loading branch information
Ravishankar authored and Greg Kroah-Hartman committed Jul 5, 2011
1 parent aa25cd8 commit 24f8924
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3297d6c7c84a2a3f62b41b703a2963759e822e96
refs/heads/master: ee4d07d8e1c72043299ac4118fbdee0ad883e966
10 changes: 5 additions & 5 deletions trunk/drivers/staging/comedi/drivers/ni_daq_700.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ IRQ is assigned but not used.
#include <pcmcia/cisreg.h>
#include <pcmcia/ds.h>

static struct pcmcia_device *pcmcia_cur_dev = NULL;
static struct pcmcia_device *pcmcia_cur_dev;

#define DIO700_SIZE 8 /* size of io region used by board */

Expand Down Expand Up @@ -381,11 +381,11 @@ static int dio700_attach(struct comedi_device *dev, struct comedi_devconfig *it)
#endif
break;
default:
printk("bug! couldn't determine board type\n");
printk(KERN_ERR "bug! couldn't determine board type\n");
return -EINVAL;
break;
}
printk("comedi%d: ni_daq_700: %s, io 0x%lx", dev->minor,
printk(KERN_ERR "comedi%d: ni_daq_700: %s, io 0x%lx", dev->minor,
thisboard->name, iobase);
#ifdef incomplete
if (irq)
Expand All @@ -396,7 +396,7 @@ static int dio700_attach(struct comedi_device *dev, struct comedi_devconfig *it)
printk("\n");

if (iobase == 0) {
printk("io base address is zero!\n");
printk(KERN_ERR "io base address is zero!\n");
return -EINVAL;
}

Expand All @@ -421,7 +421,7 @@ static int dio700_attach(struct comedi_device *dev, struct comedi_devconfig *it)

static int dio700_detach(struct comedi_device *dev)
{
printk("comedi%d: ni_daq_700: cs-remove\n", dev->minor);
printk(KERN_ERR "comedi%d: ni_daq_700: cs-remove\n", dev->minor);

if (dev->subdevices)
subdev_700_cleanup(dev, dev->subdevices + 0);
Expand Down

0 comments on commit 24f8924

Please sign in to comment.