aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/au1x/psc.h
diff options
context:
space:
mode:
authorWan ZongShun <mcuos.com@gmail.com>2010-06-01 03:16:20 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-06-03 14:00:16 -0400
commitc0da5500e9962e23ee8bb0bce9cb4307d44c0ae7 (patch)
tree8eb69bd02ec962134f6e358d08a2695affa76d75 /sound/soc/au1x/psc.h
parent5ef650ae5c94ee4d593169b82b6c306093360765 (diff)
ASoC: use resource_size for au1x
Use the resource_size function instead of manually calculating the resource size.This patch can reduce the chance of introducing off-by-one errors. Signed-off-by: Wan ZongShun <mcuos.com@gmail.com> Acked-by: Manuel Lauss <manuel.lauss@googlemail.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/au1x/psc.h')
-rw-r--r--sound/soc/au1x/psc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/au1x/psc.h b/sound/soc/au1x/psc.h
index 32d3807d3f5a..093775d4dc3e 100644
--- a/sound/soc/au1x/psc.h
+++ b/sound/soc/au1x/psc.h
@@ -32,7 +32,6 @@ struct au1xpsc_audio_data {
32 unsigned long rate; 32 unsigned long rate;
33 33
34 unsigned long pm[2]; 34 unsigned long pm[2];
35 struct resource *ioarea;
36 struct mutex lock; 35 struct mutex lock;
37 struct platform_device *dmapd; 36 struct platform_device *dmapd;
38}; 37};