summaryrefslogtreecommitdiffstats
path: root/sound/aoa
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2006-07-12 07:41:18 +0200
committerPaul Mackerras <paulus@samba.org>2006-07-31 07:55:06 +0200
commitabddd185a0195988b8a5e802d55aff91783489de (patch)
treeb155a1d9aef8c34fafbf54ab7ed829726522913e /sound/aoa
parent[POWERPC] netdevices: Constify & voidify get_property() (diff)
downloadlinux-abddd185a0195988b8a5e802d55aff91783489de.tar.xz
linux-abddd185a0195988b8a5e802d55aff91783489de.zip
[POWERPC] sound: Constify & voidify get_property()
Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. powerpc-specific sound driver changes. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'sound/aoa')
-rw-r--r--sound/aoa/core/snd-aoa-gpio-feature.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/aoa/core/snd-aoa-gpio-feature.c b/sound/aoa/core/snd-aoa-gpio-feature.c
index 7ae0c0bdfad8..2ab55330b31c 100644
--- a/sound/aoa/core/snd-aoa-gpio-feature.c
+++ b/sound/aoa/core/snd-aoa-gpio-feature.c
@@ -56,7 +56,7 @@ static struct device_node *get_gpio(char *name,
{
struct device_node *np, *gpio;
u32 *reg;
- char *audio_gpio;
+ const char *audio_gpio;
*gpioptr = -1;