From: Randy Dunlap Date: Wed, 28 Jun 2006 11:26:58 +0000 (-0700) Subject: [PATCH] oss/via: make bitfield unsigned X-Git-Tag: v2.6.18-rc1~437 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1e866f0bf89e829736a12599bb7f476d1c378646;p=linux-2.6-omap-h63xx.git [PATCH] oss/via: make bitfield unsigned 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/sound/oss/via82cxxx_audio.c b/sound/oss/via82cxxx_audio.c index 2343dedd44a..29a6e0cff79 100644 --- a/sound/oss/via82cxxx_audio.c +++ b/sound/oss/via82cxxx_audio.c @@ -309,7 +309,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 */