[PATCH 5/7] ARM: OMAP2: Use hwmod to initialize mmc for 2420

Paul Walmsley
2012-05-09T20:27:28Z

Hi Tony,

On Tue, 8 May 2012, Paul Walmsley wrote:

> On Mon, 23 Apr 2012, Tony Lindgren wrote:
>
> > This allows us to pass dma request lines in platform data to
> > MMC driver the same way as we already do for omap2430 and later.
> >
> > Signed-off-by: Tony Lindgren <tony@atomide.com>
>
> This might save you some time, I updated this patch to move the device
> creation code to arch/arm/mach-omap2/msdi.c and to change the hwmod name
> to 'msdi1' to conform with the new data. Updated patch below.

One other thing, the version that was sent yesterday was the
second-to-last revision. Also needed are the following includes in
arch/arm/mach-omap2/msdi.c:

#include <linux/err.h>

#include "control.h"

- Paul