Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b222258a authored by Bernhard Walle's avatar Bernhard Walle Committed by Greg Kroah-Hartman
Browse files

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: default avatarBernhard Walle <bernhard@bwalle.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5aa4d20d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */
};