mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
5aa4d20dc3
commit
b222258ac1
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue