summaryrefslogtreecommitdiff
path: root/include/sound/max98095.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-05-13 23:29:35 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-05-13 23:33:53 +0100
commita91b778219e687b0a71a2388b6468ad54751bce0 (patch)
tree567e3765e7241889473ed9804aa51a38b6459b34 /include/sound/max98095.h
parent665010c280c93b439025d19174ed186806efa1c6 (diff)
downloadlwn-a91b778219e687b0a71a2388b6468ad54751bce0.tar.gz
lwn-a91b778219e687b0a71a2388b6468ad54751bce0.zip
ASoC: max98095: Single bit bitfields should be unsigned
There's no space for the sign bit. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/max98095.h')
-rw-r--r--include/sound/max98095.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/max98095.h b/include/sound/max98095.h
index 65b1c90f78ab..e87ae67b0a55 100644
--- a/include/sound/max98095.h
+++ b/include/sound/max98095.h
@@ -55,7 +55,7 @@ struct max98095_pdata {
* 0 = PIN5 not supported
* 1 = PIN5 supported
*/
- int jack_detect_pin5en:1;
+ unsigned int jack_detect_pin5en:1;
/* Slew amount for jack detection. Calculated as 4 * (delay + 1).
* Default delay is 24 to get a time of 100ms.