]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/rtc/rtc-ds1307.c
[PATCH] remove the syslog interface when printk is disabled
[linux-2.6-omap-h63xx.git] / drivers / rtc / rtc-ds1307.c
index cc5032b6f42ac45c9aba4f0ff896b17585a6c813..3f0f7b8fa813057d777b908b260166624dfa3c2a 100644 (file)
@@ -141,9 +141,9 @@ static int ds1307_set_time(struct device *dev, struct rtc_time *t)
 
        dev_dbg(dev, "%s secs=%d, mins=%d, "
                "hours=%d, mday=%d, mon=%d, year=%d, wday=%d\n",
-               "write", dt->tm_sec, dt->tm_min,
-               dt->tm_hour, dt->tm_mday,
-               dt->tm_mon, dt->tm_year, dt->tm_wday);
+               "write", t->tm_sec, t->tm_min,
+               t->tm_hour, t->tm_mday,
+               t->tm_mon, t->tm_year, t->tm_wday);
 
        *buf++ = 0;             /* first register addr */
        buf[DS1307_REG_SECS] = BIN2BCD(t->tm_sec);