summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/algos
diff options
context:
space:
mode:
authorFrank Seidel <frank@f-seidel.de>2009-03-28 21:34:42 +0100
committerJean Delvare <khali@linux-fr.org>2009-03-28 21:34:42 +0100
commit154d22b04ae1741c5fcfd5d747b813a9a279abff (patch)
treec85164bc1ab821fb30c3949efd448e915741080a /drivers/i2c/algos
parenti2c-algo-pcf: Handle timeout correctly (diff)
downloadlinux-154d22b04ae1741c5fcfd5d747b813a9a279abff.tar.xz
linux-154d22b04ae1741c5fcfd5d747b813a9a279abff.zip
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/algos')
-rw-r--r--drivers/i2c/algos/i2c-algo-pcf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/algos/i2c-algo-pcf.c b/drivers/i2c/algos/i2c-algo-pcf.c
index 65a769f3ae79..d31147e10774 100644
--- a/drivers/i2c/algos/i2c-algo-pcf.c
+++ b/drivers/i2c/algos/i2c-algo-pcf.c
@@ -61,7 +61,7 @@ static int i2c_debug;
static void i2c_start(struct i2c_algo_pcf_data *adap)
{
- DEBPROTO(printk("S "));
+ DEBPROTO(printk(KERN_DEBUG "S "));
set_pcf(adap, 1, I2C_PCF_START);
}