2012-06-05 15:16:03

by Mark Brown

[permalink] [raw]
Subject: [PATCH] mfd: max77693: Staticise pm_ops

They're not referenced outside this file.

Signed-off-by: Mark Brown <[email protected]>
---
drivers/mfd/max77693.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/max77693.c b/drivers/mfd/max77693.c
index e9e4278..753a0e0 100644
--- a/drivers/mfd/max77693.c
+++ b/drivers/mfd/max77693.c
@@ -215,7 +215,7 @@ static int max77693_resume(struct device *dev)
return max77693_irq_resume(max77693);
}

-const struct dev_pm_ops max77693_pm = {
+static const struct dev_pm_ops max77693_pm = {
.suspend = max77693_suspend,
.resume = max77693_resume,
};
--
1.7.10


2012-06-29 16:08:39

by Samuel Ortiz

[permalink] [raw]
Subject: Re: [PATCH] mfd: max77693: Staticise pm_ops

Hi Mark,

On Tue, Jun 05, 2012 at 04:15:59PM +0100, Mark Brown wrote:
> They're not referenced outside this file.
>
> Signed-off-by: Mark Brown <[email protected]>
> ---
> drivers/mfd/max77693.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks, applied.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/