mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 20:02:17 +00:00
![Shawn Guo](/assets/img/avatar_default.png)
Rather than including mach/iomux-mx27.h to define gpio numbers and set up the pins, the patch moves all these into machine code and has the gpio numbers passed to driver via platform_data. As the result, we can remove the mach/iomux-mx27.h inclusion from driver. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Javier Martin <javier.martin@vista-silicon.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
11 lines
246 B
C
11 lines
246 B
C
#ifndef __PLATFORM_DATA_ASOC_MX27VIS_H
|
|
#define __PLATFORM_DATA_ASOC_MX27VIS_H
|
|
|
|
struct snd_mx27vis_platform_data {
|
|
int amp_gain0_gpio;
|
|
int amp_gain1_gpio;
|
|
int amp_mutel_gpio;
|
|
int amp_muter_gpio;
|
|
};
|
|
|
|
#endif /* __PLATFORM_DATA_ASOC_MX27VIS_H */
|