Skip to content

Commit

Permalink
i2c/menelaus: Build fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Brownell authored and Jean Delvare committed Aug 14, 2007
1 parent a07ad1c commit c1147cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/i2c/chips/menelaus.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#define DEBUG
/*
* Copyright (C) 2004 Texas Instruments, Inc.
*
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit c1147cc

Please sign in to comment.