lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <m2boo6qtsv.fsf@bob.laptop.org>
Date:	Thu, 08 Mar 2012 23:31:28 -0500
From:	Chris Ball <cjb@...top.org>
To:	Viresh Kumar <viresh.kumar@...com>
Cc:	<linux-mmc@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
	<armando.visconti@...com>, <shiraz.hashim@...com>,
	<vipin.kumar@...com>, <rajeev-dlh.kumar@...com>,
	<deepak.sikri@...com>, <vipulkumar.samar@...com>,
	<amit.virdi@...com>, <pratyush.anand@...com>,
	<bhupesh.sharma@...com>, <viresh.linux@...il.com>,
	<bhavna.yadav@...com>, <vincenzo.frascino@...com>,
	<mirko.gardi@...com>
Subject: Re: [PATCH] mmc/spear: add pm callbacks to support hibernation

Hi Viresh,

On Fri, Feb 24 2012, Viresh Kumar wrote:
> From: Shiraz Hashim <shiraz.hashim@...com>
>
> Signed-off-by: Shiraz Hashim <shiraz.hashim@...com>
> ---
>  drivers/mmc/host/sdhci-spear.c |    9 ++-------
>  1 files changed, 2 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/mmc/host/sdhci-spear.c b/drivers/mmc/host/sdhci-spear.c
> index b7f8b33..6dfa82e 100644
> --- a/drivers/mmc/host/sdhci-spear.c
> +++ b/drivers/mmc/host/sdhci-spear.c
> @@ -300,20 +300,15 @@ static int sdhci_resume(struct device *dev)
>  
>  	return sdhci_resume_host(host);
>  }
> -
> -const struct dev_pm_ops sdhci_pm_ops = {
> -	.suspend	= sdhci_suspend,
> -	.resume		= sdhci_resume,
> -};
>  #endif
>  
> +static SIMPLE_DEV_PM_OPS(sdhci_pm_ops, sdhci_suspend, sdhci_resume);
> +
>  static struct platform_driver sdhci_driver = {
>  	.driver = {
>  		.name	= "sdhci",
>  		.owner	= THIS_MODULE,
> -#ifdef CONFIG_PM
>  		.pm	= &sdhci_pm_ops,
> -#endif
>  	},
>  	.probe		= sdhci_probe,
>  	.remove		= __devexit_p(sdhci_remove),

Thanks, pushed to mmc-next for 3.4.

- Chris.
-- 
Chris Ball   <cjb@...top.org>   <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ