Staging: comedi: fix printk issue in pcmmio.c
authorRavishankar Karkala Mallikarjunayya <ravishankarkm32@gmail.com>
Tue, 1 May 2012 06:25:07 +0000 (11:55 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 May 2012 04:54:08 +0000 (21:54 -0700)
This is a patch to the pcmmio.c file that fixes up a printk warning
found by the checkpatch.pl tool.

Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/pcmmio.c

index e05d1572e27cb1e476acd6f9c8464a450b01d2f4..d7f98d575f45f62244e76cb4ed1bb1fd48d69ad1 100644 (file)
@@ -337,7 +337,7 @@ static int pcmmio_dio_insn_bits(struct comedi_device *dev,
                }
 #ifdef DAMMIT_ITS_BROKEN
                /* DEBUG */
-               printk("data_out_byte %02x\n", (unsigned)byte);
+               printk(KERN_DEBUG "data_out_byte %02x\n", (unsigned)byte);
 #endif
                /* save the digital input lines for this byte.. */
                s->state |= ((unsigned int)byte) << offset;