Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6049bcef authored by Mark Brown's avatar Mark Brown Committed by Samuel Ortiz
Browse files

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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 80e4e671
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;