Re: [PATCH 08/29] mmc: sh_mmcif: add regulator support

2012-05-18 Thread Guennadi Liakhovetski
On Thu, 3 May 2012, Mark Brown wrote: > On Thu, May 03, 2012 at 05:05:37PM +0200, Guennadi Liakhovetski wrote: > > > +#include > > Where's this used? You're right, it's not. A forward declaration of struct regulator would suffice. > > +static void sh_mmcif_set_power(struct sh_mmcif_host *hos

Re: [PATCH 08/29] mmc: sh_mmcif: add regulator support

2012-05-03 Thread Mark Brown
On Thu, May 03, 2012 at 05:05:37PM +0200, Guennadi Liakhovetski wrote: > +#include Where's this used? > +static void sh_mmcif_set_power(struct sh_mmcif_host *host, struct mmc_ios > *ios) > +{ > + struct sh_mmcif_plat_data *pd = host->pd->dev.platform_data; > + > + if (!(host->mmc->caps

[PATCH 08/29] mmc: sh_mmcif: add regulator support

2012-05-03 Thread Guennadi Liakhovetski
Add regulator support to the sh_mmcif driver, but also preserve the current power-callback. Signed-off-by: Guennadi Liakhovetski Cc: Mark Brown --- drivers/mmc/host/sh_mmcif.c | 48 -- 1 files changed, 41 insertions(+), 7 deletions(-) diff --git a/driv