aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-pca-isa.c
diff options
context:
space:
mode:
authorFrank Seidel <frank@f-seidel.de>2009-03-28 16:34:42 -0400
committerJean Delvare <khali@linux-fr.org>2009-03-28 16:34:42 -0400
commit154d22b04ae1741c5fcfd5d747b813a9a279abff (patch)
treec85164bc1ab821fb30c3949efd448e915741080a /drivers/i2c/busses/i2c-pca-isa.c
parent94d78e180c0323422854bc1718e657ac2d0cac1b (diff)
i2c: Add missing KERN_* constants to printks
According to kerneljanitors todo list all printk calls (beginning a new line) should have an according KERN_* constant. Those are the missing pieces here for the i2c subsystem. Signed-off-by: Frank Seidel <frank@f-seidel.de> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-pca-isa.c')
-rw-r--r--drivers/i2c/busses/i2c-pca-isa.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-pca-isa.c b/drivers/i2c/busses/i2c-pca-isa.c
index 4aa8138cb0a9..c420a7c0f3e4 100644
--- a/drivers/i2c/busses/i2c-pca-isa.c
+++ b/drivers/i2c/busses/i2c-pca-isa.c
@@ -49,7 +49,8 @@ static void pca_isa_writebyte(void *pd, int reg, int val)
49{ 49{
50#ifdef DEBUG_IO 50#ifdef DEBUG_IO
51 static char *names[] = { "T/O", "DAT", "ADR", "CON" }; 51 static char *names[] = { "T/O", "DAT", "ADR", "CON" };
52 printk("*** write %s at %#lx <= %#04x\n", names[reg], base+reg, val); 52 printk(KERN_DEBUG "*** write %s at %#lx <= %#04x\n", names[reg],
53 base+reg, val);
53#endif 54#endif
54 outb(val, base+reg); 55 outb(val, base+reg);
55} 56}
@@ -60,7 +61,7 @@ static int pca_isa_readbyte(void *pd, int reg)
60#ifdef DEBUG_IO 61#ifdef DEBUG_IO
61 { 62 {
62 static char *names[] = { "STA", "DAT", "ADR", "CON" }; 63 static char *names[] = { "STA", "DAT", "ADR", "CON" };
63 printk("*** read %s => %#04x\n", names[reg], res); 64 printk(KERN_DEBUG "*** read %s => %#04x\n", names[reg], res);
64 } 65 }
65#endif 66#endif
66 return res; 67 return res;