[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51321242.9070707@ti.com>
Date: Sat, 2 Mar 2013 15:52:50 +0100
From: Peter Ujfalusi <peter.ujfalusi@...com>
To: Mark Brown <broonie@...nsource.wolfsonmicro.com>
CC: Samuel Ortiz <sameo@...ux.intel.com>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mfd: twl4030-audio: Fix argument type for twl4030_audio_disable_resource()
On 03/02/2013 08:30 AM, Mark Brown wrote:
> Looks like the conversion to enum was missed for the definition of this
> function, the declaration has been updated.
Acked-by: Peter Ujfalusi <peter.ujfalusi@...com>
>
> Signed-off-by: Mark Brown <broonie@...nsource.wolfsonmicro.com>
> ---
> drivers/mfd/twl4030-audio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mfd/twl4030-audio.c b/drivers/mfd/twl4030-audio.c
> index e16edca..d2ab222 100644
> --- a/drivers/mfd/twl4030-audio.c
> +++ b/drivers/mfd/twl4030-audio.c
> @@ -118,7 +118,7 @@ EXPORT_SYMBOL_GPL(twl4030_audio_enable_resource);
> * Disable the resource.
> * The function returns with error or the content of the register
> */
> -int twl4030_audio_disable_resource(unsigned id)
> +int twl4030_audio_disable_resource(enum twl4030_audio_res id)
> {
> struct twl4030_audio *audio = platform_get_drvdata(twl4030_audio_dev);
> int val;
>
--
Péter
--
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