Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2014 22:29:59 +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: r262408 - head/sys/arm/ti/twl
Message-ID:  <201402232229.s1NMTxRd064801@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Sun Feb 23 22:29:59 2014
New Revision: 262408
URL: http://svnweb.freebsd.org/changeset/base/262408

Log:
  Eliminate an unused-var warning by wrapping #if 0 around some tables of
  values that were probably entered "for completeness" from a datasheet, and
  for all I know may be useful/necessary some day.

Modified:
  head/sys/arm/ti/twl/twl_vreg.c

Modified: head/sys/arm/ti/twl/twl_vreg.c
==============================================================================
--- head/sys/arm/ti/twl/twl_vreg.c	Sun Feb 23 22:27:14 2014	(r262407)
+++ head/sys/arm/ti/twl/twl_vreg.c	Sun Feb 23 22:29:59 2014	(r262408)
@@ -138,6 +138,7 @@ static const uint16_t twl4030_vsim_volta
 static const uint16_t twl4030_vdac_voltages[] = {
 	1200, 1300, 1800, 1800
 };
+#if 0 /* vdd1, vdd2, vdio, not currently used. */
 static const uint16_t twl4030_vdd1_voltages[] = {
 	800, 1450
 };
@@ -147,6 +148,7 @@ static const uint16_t twl4030_vdd2_volta
 static const uint16_t twl4030_vio_voltages[] = {
 	1800, 1850
 };
+#endif
 static const uint16_t twl4030_vintana2_voltages[] = {
 	2500, 2750
 };



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