提交 b222258a 编写于 作者: B Bernhard Walle 提交者: Greg Kroah-Hartman

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: NBernhard Walle <bernhard@bwalle.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 5aa4d20d
...@@ -87,7 +87,7 @@ struct bmp085_data { ...@@ -87,7 +87,7 @@ struct bmp085_data {
u32 raw_temperature; u32 raw_temperature;
u32 raw_pressure; u32 raw_pressure;
unsigned char oversampling_setting; unsigned char oversampling_setting;
u32 last_temp_measurement; unsigned long last_temp_measurement;
s32 b6; /* calculated temperature correction coefficient */ s32 b6; /* calculated temperature correction coefficient */
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册