svn commit: r262408 - head/sys/arm/ti/twl
Ian Lepore
ian at FreeBSD.org
Sun Feb 23 22:29:59 UTC 2014
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
};
More information about the svn-src-head
mailing list