summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2014-03-21 00:19:20 +0000
committerdim <dim@FreeBSD.org>2014-03-21 00:19:20 +0000
commit9133572e2e8295a8118ee512b1a9d4bb4a379af5 (patch)
treecb7dc720063ef3235698822a213e5199076bda5e
parentd46bcdadc4adcc8ec4646e8d0859f1ee491c1c11 (diff)
downloadFreeBSD-src-9133572e2e8295a8118ee512b1a9d4bb4a379af5.zip
FreeBSD-src-9133572e2e8295a8118ee512b1a9d4bb4a379af5.tar.gz
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.
-rw-r--r--sys/arm/ti/twl/twl_vreg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm/ti/twl/twl_vreg.c b/sys/arm/ti/twl/twl_vreg.c
index b4ebc59..accbf49 100644
--- a/sys/arm/ti/twl/twl_vreg.c
+++ b/sys/arm/ti/twl/twl_vreg.c
@@ -138,6 +138,7 @@ static const uint16_t twl4030_vsim_voltages[] = {
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_voltages[] = {
static const uint16_t twl4030_vio_voltages[] = {
1800, 1850
};
+#endif
static const uint16_t twl4030_vintana2_voltages[] = {
2500, 2750
};
OpenPOWER on IntegriCloud