diff options
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/ak4641.h | 26 | ||||
-rw-r--r-- | include/sound/soc.h | 2 |
2 files changed, 28 insertions, 0 deletions
diff --git a/include/sound/ak4641.h b/include/sound/ak4641.h new file mode 100644 index 000000000000..96d1991c811d --- /dev/null +++ b/include/sound/ak4641.h | |||
@@ -0,0 +1,26 @@ | |||
1 | /* | ||
2 | * AK4641 ALSA SoC Codec driver | ||
3 | * | ||
4 | * Copyright 2009 Philipp Zabel | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | |||
11 | #ifndef __AK4641_H | ||
12 | #define __AK4641_H | ||
13 | |||
14 | /** | ||
15 | * struct ak4641_platform_data - platform specific AK4641 configuration | ||
16 | * @gpio_power: GPIO to control external power to AK4641 | ||
17 | * @gpio_npdn: GPIO connected to AK4641 nPDN pin | ||
18 | * | ||
19 | * Both GPIO parameters are optional. | ||
20 | */ | ||
21 | struct ak4641_platform_data { | ||
22 | int gpio_power; | ||
23 | int gpio_npdn; | ||
24 | }; | ||
25 | |||
26 | #endif /* __AK4641_H */ | ||
diff --git a/include/sound/soc.h b/include/sound/soc.h index b27c7a2d3bb0..f1de3e0c75bc 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
@@ -702,6 +702,8 @@ struct snd_soc_aux_dev { | |||
702 | /* SoC card */ | 702 | /* SoC card */ |
703 | struct snd_soc_card { | 703 | struct snd_soc_card { |
704 | const char *name; | 704 | const char *name; |
705 | const char *long_name; | ||
706 | const char *driver_name; | ||
705 | struct device *dev; | 707 | struct device *dev; |
706 | struct snd_card *snd_card; | 708 | struct snd_card *snd_card; |
707 | struct module *owner; | 709 | struct module *owner; |