Commit 6e882d47 authored by Ravishankar's avatar Ravishankar Committed by Greg Kroah-Hartman

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: default avatarRavishankr <ravishakarkm32@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 7a981616
...@@ -29,7 +29,7 @@ Status: Works. Only tested on DM7520-8. Not SMP safe. ...@@ -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) ...@@ -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) ...@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment