diff options
author | Mariusz Kozlowski <m.kozlowski@tuxland.pl> | 2006-12-06 23:38:04 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 11:39:38 -0500 |
commit | 940cc2df935d00e704c7b8366bdaedda379abf85 (patch) | |
tree | 6e6b90fb0eb9defe7d7dc4562d9ec13bbc91734a | |
parent | c67220480e0dc6442851691c81c2ff7aa48f9d8f (diff) |
[PATCH] make 1-bit bitfields unsigned
Keeps sparse happy.
Signed-of-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Acked-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | drivers/isdn/hisax/isdnhdlc.h | 8 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/l64781.c | 2 | ||||
-rw-r--r-- | sound/arm/sa11xx-uda1341.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/drivers/isdn/hisax/isdnhdlc.h b/drivers/isdn/hisax/isdnhdlc.h index 269315988dc8..5655b5f9c48e 100644 --- a/drivers/isdn/hisax/isdnhdlc.h +++ b/drivers/isdn/hisax/isdnhdlc.h | |||
@@ -41,10 +41,10 @@ struct isdnhdlc_vars { | |||
41 | unsigned char shift_reg; | 41 | unsigned char shift_reg; |
42 | unsigned char ffvalue; | 42 | unsigned char ffvalue; |
43 | 43 | ||
44 | int data_received:1; // set if transferring data | 44 | unsigned int data_received:1; // set if transferring data |
45 | int dchannel:1; // set if D channel (send idle instead of flags) | 45 | unsigned int dchannel:1; // set if D channel (send idle instead of flags) |
46 | int do_adapt56:1; // set if 56K adaptation | 46 | unsigned int do_adapt56:1; // set if 56K adaptation |
47 | int do_closing:1; // set if in closing phase (need to send CRC + flag | 47 | unsigned int do_closing:1; // set if in closing phase (need to send CRC + flag |
48 | }; | 48 | }; |
49 | 49 | ||
50 | 50 | ||
diff --git a/drivers/media/dvb/frontends/l64781.c b/drivers/media/dvb/frontends/l64781.c index f3bc82e44a28..1aeacb1c4af7 100644 --- a/drivers/media/dvb/frontends/l64781.c +++ b/drivers/media/dvb/frontends/l64781.c | |||
@@ -36,7 +36,7 @@ struct l64781_state { | |||
36 | struct dvb_frontend frontend; | 36 | struct dvb_frontend frontend; |
37 | 37 | ||
38 | /* private demodulator data */ | 38 | /* private demodulator data */ |
39 | int first:1; | 39 | unsigned int first:1; |
40 | }; | 40 | }; |
41 | 41 | ||
42 | #define dprintk(args...) \ | 42 | #define dprintk(args...) \ |
diff --git a/sound/arm/sa11xx-uda1341.c b/sound/arm/sa11xx-uda1341.c index c79a9afd0955..c7e1b2646193 100644 --- a/sound/arm/sa11xx-uda1341.c +++ b/sound/arm/sa11xx-uda1341.c | |||
@@ -125,7 +125,7 @@ struct audio_stream { | |||
125 | #else | 125 | #else |
126 | dma_regs_t *dma_regs; /* points to our DMA registers */ | 126 | dma_regs_t *dma_regs; /* points to our DMA registers */ |
127 | #endif | 127 | #endif |
128 | int active:1; /* we are using this stream for transfer now */ | 128 | unsigned int active:1; /* we are using this stream for transfer now */ |
129 | int period; /* current transfer period */ | 129 | int period; /* current transfer period */ |
130 | int periods; /* current count of periods registerd in the DMA engine */ | 130 | int periods; /* current count of periods registerd in the DMA engine */ |
131 | int tx_spin; /* are we recoding - flag used to do DMA trans. for sync */ | 131 | int tx_spin; /* are we recoding - flag used to do DMA trans. for sync */ |