summaryrefslogtreecommitdiffstats
path: root/include/sound/ac97_codec.h
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2009-07-30 02:55:01 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-08-13 23:19:37 +0200
commit4ac0478f2afaf8e778b4190d6218459a9dbf2a8f (patch)
tree97caf69480c6fcf9a3d294e650a7548f137e5d44 /include/sound/ac97_codec.h
parentASoC: DaVinci: Add audio support fot DA850/OMAP-L138 EVM (diff)
downloadlinux-4ac0478f2afaf8e778b4190d6218459a9dbf2a8f.tar.xz
linux-4ac0478f2afaf8e778b4190d6218459a9dbf2a8f.zip
ALSA: Allow passing platform_data for pxa2xx-ac97
This patch adds support for passing platform data to ac97 bus devices from PXA2xx-AC97 driver.. Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/ac97_codec.h')
-rw-r--r--include/sound/ac97_codec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/ac97_codec.h b/include/sound/ac97_codec.h
index 9b1c0985480c..3dae3f799b9b 100644
--- a/include/sound/ac97_codec.h
+++ b/include/sound/ac97_codec.h
@@ -32,6 +32,9 @@
#include "control.h"
#include "info.h"
+/* maximum number of devices on the AC97 bus */
+#define AC97_BUS_MAX_DEVICES 4
+
/*
* AC'97 codec registers
*/