summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/chips/menelaus.c
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2007-08-14 18:37:14 +0200
committerJean Delvare <khali@hyperion.delvare>2007-08-14 18:37:14 +0200
commitc1147cc6d18389f6530bae27741b9b2665e862e6 (patch)
treea818261097cf68c1a2fb21ade8b4daf07c18de9d /drivers/i2c/chips/menelaus.c
parenti2c-mv64xxx: Reinitialize hw and driver on I2C bus hang (diff)
downloadlinux-c1147cc6d18389f6530bae27741b9b2665e862e6.tar.xz
linux-c1147cc6d18389f6530bae27741b9b2665e862e6.zip
i2c/menelaus: Build fix
Fix Menelaus build error, and remove needless "#define DEBUG". Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c/chips/menelaus.c')
-rw-r--r--drivers/i2c/chips/menelaus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/i2c/chips/menelaus.c b/drivers/i2c/chips/menelaus.c
index 48a7e2f0bdd3..d9c92c5e0077 100644
--- a/drivers/i2c/chips/menelaus.c
+++ b/drivers/i2c/chips/menelaus.c
@@ -1,4 +1,3 @@
-#define DEBUG
/*
* Copyright (C) 2004 Texas Instruments, Inc.
*
@@ -933,7 +932,7 @@ static int menelaus_set_time(struct device *dev, struct rtc_time *t)
return status;
status = menelaus_write_reg(MENELAUS_RTC_WKDAY, BIN2BCD(t->tm_wday));
if (status < 0) {
- dev_err(&the_menelaus->client->dev, "rtc write reg %02x",
+ dev_err(&the_menelaus->client->dev, "rtc write reg %02x "
"err %d\n", MENELAUS_RTC_WKDAY, status);
return status;
}