dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Tony Lindgren 2012-10-04 11:27:15 +03:00 committed by Mark Brown
parent 034940a6b3
commit 07b706dc9e
1 changed files with 1 additions and 1 deletions

View File

@ -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"