summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-10-04 12:27:15 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-10-04 21:48:05 +0400
commit07b706dc9e92f030cfca330879aa8b7ecbb7b79a (patch)
treeb97212968ca57be121ff82dc308777550526632c /sound
parent034940a6b3afbe79022ab6922dd9d2982b78e6d5 (diff)
downloadlinux-07b706dc9e92f030cfca330879aa8b7ecbb7b79a.tar.xz
ASoC: Fix wrong include for McPDM
McPDM needs platt/cpu.h for omap_rev and not omap_hwmod.h. Drivers must not include omap_hwmod.h at, it will be private to mach-omap2 soon. Fix the problem before other drivers will also start including omap_hwmod.h. Note that also plat/cpu.h will be going away, so the omap_rev check needs to be replaced with mcpdm-watchdog flag from platform_data or DT. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/omap/omap-mcpdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/omap/omap-mcpdm.c b/sound/soc/omap/omap-mcpdm.c
index 775565032ce3..fdf655e3f1b3 100644
--- a/sound/soc/omap/omap-mcpdm.c
+++ b/sound/soc/omap/omap-mcpdm.c
@@ -40,7 +40,7 @@
#include <sound/pcm_params.h>
#include <sound/soc.h>
-#include <plat/omap_hwmod.h>
+#include <plat/cpu.h>
#include "omap-mcpdm.h"
#include "omap-pcm.h"