[PATCH] oss/via: make bitfield unsigned

From: Randy.Dunlap
Date: Tue Jun 27 2006 - 20:51:49 EST


From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

Make a 1-bit field unsigned like all of the others near it.
sound/oss/via82cxxx_audio.c:311:21: error: dubious one-bit signed bitfield

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
---
sound/oss/via82cxxx_audio.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2617-g11.orig/sound/oss/via82cxxx_audio.c
+++ linux-2617-g11/sound/oss/via82cxxx_audio.c
@@ -308,7 +308,7 @@ struct via_info {
unsigned sixchannel: 1; /* 8233/35 with 6 channel support */
unsigned volume: 1;

- int locked_rate : 1;
+ unsigned locked_rate : 1;

int mixer_vol; /* 8233/35 volume - not yet implemented */



---
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/