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

Commit 758ef749 authored by Bill Pemberton's avatar Bill Pemberton Committed by Jiri Kosina
Browse files

rtc-v3020: make bitfield unsigned



Fix sparse warning:

include/linux/rtc-v3020.h:18:23: error: dubious one-bit signed bitfield

Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
CC: p_gortmaker@yahoo.com
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 8356dda2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;