diff options
author | Philip Rakity <prakity@nvidia.com> | 2013-07-05 21:22:31 +0100 |
---|---|---|
committer | Riham Haidar <rhaidar@nvidia.com> | 2013-07-09 16:44:31 -0700 |
commit | 0a7b4e9cabaf9826727ec624671693f9ac97becf (patch) | |
tree | ad33956aef5a4aecc7f142ef377397cc99cc1a5b /sound | |
parent | 7f79f759700e14a131055c8efeb9c56e5daf42ff (diff) |
asoc: codec: spdif: Remove Compiler Warning
use correct return type per struct
unsigned int -- not int
Change-Id: Ia7a95cba5c983011a3215939bdd0f4ee88fabaf2
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/245592
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/spdif_transciever.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sound/soc/codecs/spdif_transciever.c b/sound/soc/codecs/spdif_transciever.c index c02c2cfe990f..fc064047514f 100644 --- a/sound/soc/codecs/spdif_transciever.c +++ b/sound/soc/codecs/spdif_transciever.c @@ -8,7 +8,7 @@ * Author: Steve Chen, <schen@mvista.com> * Copyright: (C) 2009 MontaVista Software, Inc., <source@mvista.com> * Copyright: (C) 2009 Texas Instruments, India - * Copyright: (C) 2009-2012, NVIDIA Corporation. + * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -38,12 +38,13 @@ static const struct snd_soc_dapm_widget spdif_dapm_widgets[] = { SND_SOC_DAPM_VMID("spdif dummy Vmid"), }; -static int spdif_write(struct snd_soc_codec * codec, unsigned int reg, +static int spdif_write(struct snd_soc_codec *codec, unsigned int reg, unsigned int val){ return 0; } -static int spdif_read(struct snd_soc_codec * codec, unsigned int reg){ +static unsigned int spdif_read(struct snd_soc_codec *codec, unsigned int reg) +{ return 0; } |