>From d96545638e115523e87bd227d65ce1a8adf73cfd Mon Sep 17 00:00:00 2001 From: Sebastien Busson <[email protected]> Date: Fri, 5 Nov 2010 18:11:06 +0100 Subject: [PATCH] wl1271 : Fix problem to use runtime
Changed .suspend and .resume by .runtime_suspend and .runtime_resume to enable wlan with CONFIG_PM_RUNTIME activate. Signed-off-by: Sebastien Busson <[email protected]> --- .../drivers/net/wireless/wl12xx/wl1271_sdio.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compat-wireless-2010-10-19/drivers/net/wireless/wl12xx/wl1271_sdio.c b/compat-wireless-2010-10-19/drivers/net/wireless/wl12xx/wl1271_sdio.c index 061ee3c..4d4fd51 100644 --- a/compat-wireless-2010-10-19/drivers/net/wireless/wl12xx/wl1271_sdio.c +++ b/compat-wireless-2010-10-19/drivers/net/wireless/wl12xx/wl1271_sdio.c @@ -308,8 +308,8 @@ static int wl1271_resume(struct device *dev) } static const struct dev_pm_ops wl1271_sdio_pm_ops = { - .suspend = wl1271_suspend, - .resume = wl1271_resume, + .runtime_suspend = wl1271_suspend, + .runtime_resume = wl1271_resume, }; static struct sdio_driver wl1271_sdio_driver = { -- 1.7.2.3 --------------------------------------------------------------------- Intel Corporation SAS (French simplified joint stock company) Registered headquarters: "Les Montalets"- 2, rue de Paris, 92196 Meudon Cedex, France Registration Number: 302 456 199 R.C.S. NANTERRE Capital: 4,572,000 Euros This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
0001-wl1271-Fix-problem-to-use-runtime.patch
Description: 0001-wl1271-Fix-problem-to-use-runtime.patch
_______________________________________________ MeeGo-kernel mailing list [email protected] http://lists.meego.com/listinfo/meego-kernel
