Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2018 19:25:54 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r330405 - head/sys/dev/iicbus
Message-ID:  <201803041925.w24JPsVB023503@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Sun Mar  4 19:25:54 2018
New Revision: 330405
URL: https://svnweb.freebsd.org/changeset/base/330405

Log:
  Oops, fix a paste-o.

Modified:
  head/sys/dev/iicbus/ds13rtc.c

Modified: head/sys/dev/iicbus/ds13rtc.c
==============================================================================
--- head/sys/dev/iicbus/ds13rtc.c	Sun Mar  4 19:23:48 2018	(r330404)
+++ head/sys/dev/iicbus/ds13rtc.c	Sun Mar  4 19:25:54 2018	(r330405)
@@ -395,7 +395,7 @@ ds13rtc_gettime(device_t dev, struct timespec *ts)
 	if (sc->use_century)
 		bct.year += (tregs.month & DS13xx_B_MONTH_CENTURY) ? 0x100 : 0;
 
-	clock_dbgprint_bcd(sc->sc_dev, CLOCK_DBG_READ, &bct); 
+	clock_dbgprint_bcd(sc->dev, CLOCK_DBG_READ, &bct); 
 	err = clock_bcd_to_ts(&bct, ts, sc->use_ampm);
 
 	return (err);
@@ -423,7 +423,7 @@ ds13rtc_settime(device_t dev, struct timespec *ts)
 		return (write_timeword(sc, ts->tv_sec));
 
 	clock_ts_to_bcd(ts, &bct, sc->use_ampm);
-	clock_dbgprint_bcd(sc->sc_dev, CLOCK_DBG_WRITE, &bct); 
+	clock_dbgprint_bcd(sc->dev, CLOCK_DBG_WRITE, &bct); 
 
 	/* If the chip is in AMPM mode deal with the PM flag. */
 	pmflags = 0;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803041925.w24JPsVB023503>