summaryrefslogtreecommitdiffstats
path: root/sound/aoa/aoa.h
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/aoa.h
parentALSA: i2c/ak413x: Use SNDRV_DEV_CODEC for ak413x codec objects (diff)
downloadlinux-9ce5054363c6ec7e38d0c6c39bd116ec4f7d6480.tar.xz
linux-9ce5054363c6ec7e38d0c6c39bd116ec4f7d6480.zip
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/aoa.h')
-rw-r--r--sound/aoa/aoa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/aoa/aoa.h b/sound/aoa/aoa.h
index e08789484e30..34c668f27798 100644
--- a/sound/aoa/aoa.h
+++ b/sound/aoa/aoa.h
@@ -116,7 +116,7 @@ struct aoa_card {
struct snd_card *alsa_card;
};
-extern int aoa_snd_device_new(snd_device_type_t type,
+extern int aoa_snd_device_new(enum snd_device_type type,
void * device_data, struct snd_device_ops * ops);
extern struct snd_card *aoa_get_card(void);
extern int aoa_snd_ctl_add(struct snd_kcontrol* control);