[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1330162092-30053-1-git-send-email-bernhard@bwalle.de>
Date: Sat, 25 Feb 2012 10:28:12 +0100
From: Bernhard Walle <bernhard@...lle.de>
To: gregkh@...uxfoundation.org
Cc: christoph.mair@...il.com, arnd@...db.de,
linux-kernel@...r.kernel.org
Subject: [PATCH] misc: bmp085: Use unsigned long to store jiffies
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@...lle.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists