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:
Родитель
7a98161646
Коммит
6e882d472f
|
@ -29,8 +29,8 @@ Status: Works. Only tested on DM7520-8. Not SMP safe.
|
|||
|
||||
Configuration options:
|
||||
[0] - PCI bus of device (optional)
|
||||
If bus/slot is not specified, the first available PCI
|
||||
device will be used.
|
||||
If bus / slot is not specified, the first available PCI
|
||||
device will be used.
|
||||
[1] - PCI slot of device (optional)
|
||||
*/
|
||||
/*
|
||||
|
@ -186,7 +186,7 @@ Configuration options:
|
|||
| PLX_DEMAND_MODE_BIT)
|
||||
|
||||
#define DMA_TRANSFER_BITS (\
|
||||
/* descriptors in PCI memory*/ PLX_DESC_IN_PCI_BIT \
|
||||
/* descriptors in PCI memory*/ PLX_DESC_IN_PCI_BIT \
|
||||
/* interrupt at end of block */ | PLX_INTR_TERM_COUNT \
|
||||
/* from board to PCI */ | PLX_XFER_LOCAL_TO_PCI)
|
||||
|
||||
|
@ -869,7 +869,7 @@ static int rtd_attach(struct comedi_device *dev, struct comedi_devconfig *it)
|
|||
}
|
||||
|
||||
/* Show board configuration */
|
||||
printk("%s:", dev->board_name);
|
||||
printk(KERN_INFO "%s:", dev->board_name);
|
||||
|
||||
/*
|
||||
* 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;
|
||||
}
|
||||
dev->irq = devpriv->pci_dev->irq;
|
||||
printk("( irq=%u )", dev->irq);
|
||||
printk(KERN_INFO "( irq=%u )", dev->irq);
|
||||
|
||||
ret = rtd520_probe_fifo_depth(dev);
|
||||
if (ret < 0)
|
||||
|
|
Загрузка…
Ссылка в новой задаче