Hi,

On Wed, Jan 04 2012, Viresh Kumar wrote:
> With the inclusion of following patch:
> "mmc: sdhci: remove "state" argument from sdhci_suspend_host"
>
> we get a compilation error for sdhci-spear:
> drivers/mmc/host/sdhci-spear.c:283:2: error: too many arguments to function
> ‘sdhci_suspend_host’
>
> This patch fixes this error.
>
> Signed-off-by: Viresh Kumar <viresh.ku...@st.com>
> ---
>  drivers/mmc/host/sdhci-spear.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mmc/host/sdhci-spear.c b/drivers/mmc/host/sdhci-spear.c
> index dee70b6..4e1130e 100644
> --- a/drivers/mmc/host/sdhci-spear.c
> +++ b/drivers/mmc/host/sdhci-spear.c
> @@ -277,10 +277,9 @@ static int sdhci_suspend(struct device *dev)
>  {
>       struct sdhci_host *host = dev_get_drvdata(dev);
>       struct spear_sdhci *sdhci = dev_get_platdata(dev);
> -     pm_message_t state = {.event = 0};
>       int ret;
>  
> -     ret = sdhci_suspend_host(host, state);
> +     ret = sdhci_suspend_host(host);
>       if (!ret)
>               clk_disable(sdhci->clk);

Thanks, pushed to mmc-next for 3.3 with a stable@ tag.

- Chris.
-- 
Chris Ball   <c...@laptop.org>   <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to