From b222258ac11cae3e0350fe5992ad164a7b128103 Mon Sep 17 00:00:00 2001 From: Bernhard Walle Date: Sat, 25 Feb 2012 10:28:12 +0100 Subject: misc: bmp085: Use unsigned long to store jiffies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes following compilation warning: drivers/misc/bmp085.c: In function ‘bmp085_get_pressure’: drivers/misc/bmp085.c:238:4: warning: comparison of distinct pointer types lacks a cast [enabled by default] Signed-off-by: Bernhard Walle Signed-off-by: Greg Kroah-Hartman --- drivers/misc/bmp085.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/misc/bmp085.c') diff --git a/drivers/misc/bmp085.c b/drivers/misc/bmp085.c index b088abc0f45b..76c3064629f1 100644 --- a/drivers/misc/bmp085.c +++ b/drivers/misc/bmp085.c @@ -87,7 +87,7 @@ struct bmp085_data { u32 raw_temperature; u32 raw_pressure; unsigned char oversampling_setting; - u32 last_temp_measurement; + unsigned long last_temp_measurement; s32 b6; /* calculated temperature correction coefficient */ }; -- cgit v1.2.1