svn commit: r263456 - stable/10/sys/arm/ti/twl

Dimitry Andric dim at FreeBSD.org
Fri Mar 21 00:19:21 UTC 2014


Author: dim
Date: Fri Mar 21 00:19:20 2014
New Revision: 263456
URL: http://svnweb.freebsd.org/changeset/base/263456

Log:
  MFC r262408 (by ian):
  
  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:
  stable/10/sys/arm/ti/twl/twl_vreg.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/arm/ti/twl/twl_vreg.c
==============================================================================
--- stable/10/sys/arm/ti/twl/twl_vreg.c	Thu Mar 20 23:48:18 2014	(r263455)
+++ stable/10/sys/arm/ti/twl/twl_vreg.c	Fri Mar 21 00:19:20 2014	(r263456)
@@ -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
 };


More information about the svn-src-stable mailing list