From: Mark Brown Date: Sat, 2 Mar 2013 07:30:35 +0000 (+0800) Subject: mfd: twl4030-audio: Fix argument type for twl4030_audio_disable_resource() X-Git-Tag: v3.9-rc3~9^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6049bcefada077c5d3aec59f093701df711ad235;p=platform%2Fkernel%2Flinux-stable.git mfd: twl4030-audio: Fix argument type for twl4030_audio_disable_resource() Looks like the conversion to enum was missed for the definition of this function, the declaration has been updated. Signed-off-by: Mark Brown Acked-by: Peter Ujfalusi Signed-off-by: Samuel Ortiz --- 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;