提交 758ef749 编写于 作者: B Bill Pemberton 提交者: Jiri Kosina

rtc-v3020: make bitfield unsigned

Fix sparse warning:

include/linux/rtc-v3020.h:18:23: error: dubious one-bit signed bitfield
Signed-off-by: NBill Pemberton <wfp5p@virginia.edu>
CC: p_gortmaker@yahoo.com
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 8356dda2
......@@ -15,7 +15,7 @@
struct v3020_platform_data {
int leftshift; /* (1<<(leftshift)) & readl() */
int use_gpio:1;
unsigned int use_gpio:1;
unsigned int gpio_cs;
unsigned int gpio_wr;
unsigned int gpio_rd;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册