From: Marek Belisko <marek.belisko@open-nandra.com>
Date: Mon, 6 Dec 2010 12:49:05 +0000 (+0000)
Subject: omap1: htc_herald: Fix compilation warning
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=16c8a3b0c193dca0826dde77423ec4f7a81ed9f6;p=linux.git

omap1: htc_herald: Fix compilation warning

Patch fix following compilation warning:
arch/arm/mach-omap1/board-htcherald.c:442:
warning: large integer implicitly truncated to unsigned type

Hopefully this is just a typo.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
---

diff --git a/arch/arm/mach-omap1/board-htcherald.c b/arch/arm/mach-omap1/board-htcherald.c
index faa344f734dcd..742c6d1072680 100644
--- a/arch/arm/mach-omap1/board-htcherald.c
+++ b/arch/arm/mach-omap1/board-htcherald.c
@@ -439,7 +439,7 @@ static const struct ads7846_platform_data htcherald_ts_platform_data = {
 	.keep_vref_on		= 1,
 	.x_plate_ohms		= 496,
 	.gpio_pendown		= HTCHERALD_GPIO_TS,
-	.pressure_max		= 100000,
+	.pressure_max		= 10000,
 	.pressure_min		= 5000,
 	.x_min			= 528,
 	.x_max			= 3760,