summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSean Paul <seanpaul@chromium.org>2011-09-21 15:18:45 -0400
committerSean Paul <seanpaul@chromium.org>2011-09-27 09:08:21 -0700
commitfa9e36d6efa9d75a2e8dc79a95d5b3a66d9d000e (patch)
treed6290395581adb7c290a9c87800b75ff3c1771a6 /include
parent9cc79dbbd72b2200763357a0c0fdd16190f3ed5e (diff)
CHROMIUM: ARM: tegra: asymptote: Fix Asymptote backlight vdd enable line
This line is a NC on Asymptote, but right now we're using the pwm line (incorrectly). This CL removes the backlight-vdd line from Asymptote dts and ensures that it's safely ignored if it's missing. BUG=None TEST=Built u-boot for Asymptote and flashed it on the device. Ensured that the backlight still works in u-boot. Change-Id: Id751b6756bac120e2211b7b32c58f356ff30b767 Signed-off-by: Sean Paul <seanpaul@chromium.org> Reviewed-on: http://gerrit.chromium.org/gerrit/8063 Reviewed-by: Jon Kliegman <kliegs@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/fdt_decode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fdt_decode.h b/include/fdt_decode.h
index b4daac86c61..d044aff2455 100644
--- a/include/fdt_decode.h
+++ b/include/fdt_decode.h
@@ -111,7 +111,7 @@ struct fdt_gpio_state {
};
/* This tells us whether a fdt_gpio_state record is valid or not */
-#define fdt_gpio_isvalid(gpio) ((gpio)->gpio != FDT_GPIO_NONE)
+#define fdt_gpio_isvalid(x) ((x)->gpio != FDT_GPIO_NONE)
#define FDT_LCD_TIMINGS 4