Staging: comedi: c6xdigio: fixed missing KERN_* in printk
Fixed missing KERN_* in printk statements. Signed-off-by: Nasir Abed <nasirabed+kernel@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
289ea5249c
commit
0bdd2b6207
|
@ -343,7 +343,7 @@ static int c6xdigio_pwmo_insn_read(struct comedi_device *dev,
|
||||||
struct comedi_subdevice *s,
|
struct comedi_subdevice *s,
|
||||||
struct comedi_insn *insn, unsigned int *data)
|
struct comedi_insn *insn, unsigned int *data)
|
||||||
{
|
{
|
||||||
printk("c6xdigio_pwmo_insn_read %x\n", insn->n);
|
printk(KERN_DEBUG "c6xdigio_pwmo_insn_read %x\n", insn->n);
|
||||||
return insn->n;
|
return insn->n;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -439,9 +439,9 @@ static int c6xdigio_attach(struct comedi_device *dev,
|
||||||
struct comedi_subdevice *s;
|
struct comedi_subdevice *s;
|
||||||
|
|
||||||
iobase = it->options[0];
|
iobase = it->options[0];
|
||||||
printk("comedi%d: c6xdigio: 0x%04lx\n", dev->minor, iobase);
|
printk(KERN_DEBUG "comedi%d: c6xdigio: 0x%04lx\n", dev->minor, iobase);
|
||||||
if (!request_region(iobase, C6XDIGIO_SIZE, "c6xdigio")) {
|
if (!request_region(iobase, C6XDIGIO_SIZE, "c6xdigio")) {
|
||||||
printk("comedi%d: I/O port conflict\n", dev->minor);
|
printk(KERN_ERR "comedi%d: I/O port conflict\n", dev->minor);
|
||||||
return -EIO;
|
return -EIO;
|
||||||
}
|
}
|
||||||
dev->iobase = iobase;
|
dev->iobase = iobase;
|
||||||
|
@ -456,9 +456,10 @@ static int c6xdigio_attach(struct comedi_device *dev,
|
||||||
|
|
||||||
irq = it->options[1];
|
irq = it->options[1];
|
||||||
if (irq > 0)
|
if (irq > 0)
|
||||||
printk("comedi%d: irq = %u ignored\n", dev->minor, irq);
|
printk(KERN_DEBUG "comedi%d: irq = %u ignored\n",
|
||||||
|
dev->minor, irq);
|
||||||
else if (irq == 0)
|
else if (irq == 0)
|
||||||
printk("comedi%d: no irq\n", dev->minor);
|
printk(KERN_DEBUG "comedi%d: no irq\n", dev->minor);
|
||||||
|
|
||||||
s = dev->subdevices + 0;
|
s = dev->subdevices + 0;
|
||||||
/* pwm output subdevice */
|
/* pwm output subdevice */
|
||||||
|
@ -503,7 +504,7 @@ static int c6xdigio_detach(struct comedi_device *dev)
|
||||||
{
|
{
|
||||||
/* board_halt(dev); may not need this */
|
/* board_halt(dev); may not need this */
|
||||||
|
|
||||||
printk("comedi%d: c6xdigio: remove\n", dev->minor);
|
printk(KERN_DEBUG "comedi%d: c6xdigio: remove\n", dev->minor);
|
||||||
|
|
||||||
if (dev->iobase)
|
if (dev->iobase)
|
||||||
release_region(dev->iobase, C6XDIGIO_SIZE);
|
release_region(dev->iobase, C6XDIGIO_SIZE);
|
||||||
|
|
Loading…
Reference in New Issue