aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-pca-isa.c
diff options
context:
space:
mode:
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;