Staging: comedi: fix printk issue in rtd520.c

This is a patch to the rtd520.c file that fixes up a printk  warning found by the checkpatch.pl tool

Signed-off-by: Ravishankr <ravishakarkm32@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Ravishankar 2011-07-08 13:14:45 +05:30 committed by Greg Kroah-Hartman
parent 7a98161646
commit 6e882d472f
1 changed files with 5 additions and 5 deletions

View File

@ -29,7 +29,7 @@ Status: Works. Only tested on DM7520-8. Not SMP safe.
Configuration options: Configuration options:
[0] - PCI bus of device (optional) [0] - PCI bus of device (optional)
If bus/slot is not specified, the first available PCI If bus / slot is not specified, the first available PCI
device will be used. device will be used.
[1] - PCI slot of device (optional) [1] - PCI slot of device (optional)
*/ */
@ -869,7 +869,7 @@ static int rtd_attach(struct comedi_device *dev, struct comedi_devconfig *it)
} }
/* Show board configuration */ /* Show board configuration */
printk("%s:", dev->board_name); printk(KERN_INFO "%s:", dev->board_name);
/* /*
* Allocate the subdevice structures. alloc_subdevice() is a * Allocate the subdevice structures. alloc_subdevice() is a
@ -958,7 +958,7 @@ static int rtd_attach(struct comedi_device *dev, struct comedi_devconfig *it)
return ret; return ret;
} }
dev->irq = devpriv->pci_dev->irq; dev->irq = devpriv->pci_dev->irq;
printk("( irq=%u )", dev->irq); printk(KERN_INFO "( irq=%u )", dev->irq);
ret = rtd520_probe_fifo_depth(dev); ret = rtd520_probe_fifo_depth(dev);
if (ret < 0) if (ret < 0)