Commit 6b9ea4213e3a9c9b8de29a001a2b8d8799cbc1c9

Authored by Russell King
Committed by Russell King
1 parent 87e807b6c4

[MFD] Fix "bious one-bit signed bitfield" errors

ucb1x00-ts declared a couple of one-bit 'int' bitfields.
Make them unsigned.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

drivers/mfd/ucb1x00-ts.c
... ... @@ -48,8 +48,8 @@
48 48 u16 x_res;
49 49 u16 y_res;
50 50  
51   - int restart:1;
52   - int adcsync:1;
  51 + unsigned int restart:1;
  52 + unsigned int adcsync:1;
53 53 };
54 54  
55 55 static int adcsync;