summaryrefslogtreecommitdiffstats
path: root/sound/aoa/core
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-01-29 15:13:33 +0100
committerTakashi Iwai <tiwai@suse.de>2014-02-14 08:20:24 +0100
commit9ce5054363c6ec7e38d0c6c39bd116ec4f7d6480 (patch)
tree59373036dbcc458c5016a36af771ed05b0dde7be /sound/aoa/core
parent483eb0627683b840d8f74fc0bb75be9132e76cd2 (diff)
downloadop-kernel-dev-9ce5054363c6ec7e38d0c6c39bd116ec4f7d6480.zip
op-kernel-dev-9ce5054363c6ec7e38d0c6c39bd116ec4f7d6480.tar.gz
ALSA: Drop __bitwise and typedefs for snd_device attributes
Using __bitwise and typedefs for the attributes of snd_device struct isn't so useful, and rather it worsens the readability. Let's drop them and use the straightforward enum. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/aoa/core')
-rw-r--r--sound/aoa/core/alsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/aoa/core/alsa.c b/sound/aoa/core/alsa.c
index 9913bf2..4a7e4e6 100644
--- a/sound/aoa/core/alsa.c
+++ b/sound/aoa/core/alsa.c
@@ -59,7 +59,7 @@ void aoa_alsa_cleanup(void)
}
}
-int aoa_snd_device_new(snd_device_type_t type,
+int aoa_snd_device_new(enum snd_device_type type,
void * device_data, struct snd_device_ops * ops)
{
struct snd_card *card = aoa_get_card();
OpenPOWER on IntegriCloud