Skip to content

Commit

Permalink
[MFD] Fix "bious one-bit signed bitfield" errors
Browse files Browse the repository at this point in the history
ucb1x00-ts declared a couple of one-bit 'int' bitfields.
Make them unsigned.

Signed-off-by: Russell King <[email protected]>
  • Loading branch information
Russell King authored and Russell King committed Sep 24, 2005
1 parent 87e807b commit 6b9ea42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mfd/ucb1x00-ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ struct ucb1x00_ts {
u16 x_res;
u16 y_res;

int restart:1;
int adcsync:1;
unsigned int restart:1;
unsigned int adcsync:1;
};

static int adcsync;
Expand Down

0 comments on commit 6b9ea42

Please sign in to comment.