omap1: htc_herald: Fix compilation warning
authorMarek Belisko <marek.belisko@open-nandra.com>
Mon, 6 Dec 2010 12:49:05 +0000 (12:49 +0000)
committerTony Lindgren <tony@atomide.com>
Tue, 21 Dec 2010 01:53:04 +0000 (17:53 -0800)
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>
arch/arm/mach-omap1/board-htcherald.c

index faa344f734dcd326b0eb0df86e4db2d7d99829ae..742c6d10726800444fd1070ad0642f3310beb582 100644 (file)
@@ -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,