Messages in this thread Patch in this message | | | From | Bernhard Walle <> | Subject | [PATCH] misc: bmp085: Use unsigned long to store jiffies | Date | Sat, 25 Feb 2012 10:28:12 +0100 |
| |
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 <bernhard@bwalle.de> --- drivers/misc/bmp085.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/misc/bmp085.c b/drivers/misc/bmp085.c index b088abc..76c3064 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 */ }; -- 1.7.5.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |