2012-05-09 20:18:13

by Mark Brown

[permalink] [raw]
Subject: [PATCH] mfd: tps65217: Staticise non-exported tps65217_update_bis()

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

diff --git a/drivers/mfd/tps65217.c b/drivers/mfd/tps65217.c
index f7d854e..1c0fd2b 100644
--- a/drivers/mfd/tps65217.c
+++ b/drivers/mfd/tps65217.c
@@ -96,7 +96,7 @@ EXPORT_SYMBOL_GPL(tps65217_reg_write);
* @val: Value to write.
* @level: Password protected level
*/
-int tps65217_update_bits(struct tps65217 *tps, unsigned int reg,
+static int tps65217_update_bits(struct tps65217 *tps, unsigned int reg,
unsigned int mask, unsigned int val, unsigned int level)
{
int ret;
--
1.7.10


2012-05-09 20:40:07

by AnilKumar, Chimata

[permalink] [raw]
Subject: RE: [PATCH] mfd: tps65217: Staticise non-exported tps65217_update_bis()

Hi Mark,

Thanks for the patch

Acked-by: AnilKumar Ch <[email protected]>

On Thu, May 10, 2012 at 01:48:05, Mark Brown wrote:
> Signed-off-by: Mark Brown <[email protected]>
> ---
> drivers/mfd/tps65217.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mfd/tps65217.c b/drivers/mfd/tps65217.c
> index f7d854e..1c0fd2b 100644
> --- a/drivers/mfd/tps65217.c
> +++ b/drivers/mfd/tps65217.c
> @@ -96,7 +96,7 @@ EXPORT_SYMBOL_GPL(tps65217_reg_write);
> * @val: Value to write.
> * @level: Password protected level
> */
> -int tps65217_update_bits(struct tps65217 *tps, unsigned int reg,
> +static int tps65217_update_bits(struct tps65217 *tps, unsigned int reg,
> unsigned int mask, unsigned int val, unsigned int level)
> {
> int ret;
> --
> 1.7.10
>
>

2012-05-11 13:11:49

by Samuel Ortiz

[permalink] [raw]
Subject: Re: [PATCH] mfd: tps65217: Staticise non-exported tps65217_update_bis()

Hi Mark,

On Wed, May 09, 2012 at 09:18:05PM +0100, Mark Brown wrote:
> Signed-off-by: Mark Brown <[email protected]>
> ---
> drivers/mfd/tps65217.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied, thanks.

Cheers,
Samuel.

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