From: Ramesh Babu K V <[email protected]>

This patch adds Kconfig and Makefile.  For compilation, this driver
is dependent on client driver.

Signed-off-by: Ramesh Babu K V <[email protected]>
Signed-off-by: Sailaja Bandarupalli <[email protected]>
---
 sound/drivers/Kconfig                 |   11 +++++++++++
 sound/drivers/Makefile                |    1 +
 sound/drivers/intel_mid_hdmi/Makefile |    3 +++
 3 files changed, 15 insertions(+), 0 deletions(-)
 create mode 100644 sound/drivers/intel_mid_hdmi/Makefile

diff --git a/sound/drivers/Kconfig b/sound/drivers/Kconfig
index 84714a6..e85cb7a 100644
--- a/sound/drivers/Kconfig
+++ b/sound/drivers/Kconfig
@@ -182,4 +182,15 @@ config SND_AC97_POWER_SAVE_DEFAULT
          The default time-out value in seconds for AC97 automatic
          power-save mode.  0 means to disable the power-save mode.
 
+config SND_INTELMID_HDMI_AUDIO
+        tristate "Intel MID based HDMI AUDIO driver"
+        select SND_PCM
+        depends on DRM_MDFLD && MDFD_HDMI
+        default n
+        help
+           Intel MID HDMI Audio Driver (HAD) enables audio playback through
+           HDMI interface on Intel Medfield MID platform.  This is an ALSA
+           driver.
+
 endif  # SND_DRIVERS
diff --git a/sound/drivers/Makefile b/sound/drivers/Makefile
index d4a07f9..3f5ed9a 100644
--- a/sound/drivers/Makefile
+++ b/sound/drivers/Makefile
@@ -21,3 +21,4 @@ obj-$(CONFIG_SND_PORTMAN2X4) += snd-portman2x4.o
 obj-$(CONFIG_SND_ML403_AC97CR) += snd-ml403-ac97cr.o
 
 obj-$(CONFIG_SND) += opl3/ opl4/ mpu401/ vx/ pcsp/
+obj-$(CONFIG_SND_INTELMID_HDMI_AUDIO)   += intel_mid_hdmi/
diff --git a/sound/drivers/intel_mid_hdmi/Makefile 
b/sound/drivers/intel_mid_hdmi/Makefile
new file mode 100644
index 0000000..a7ac25d
--- /dev/null
+++ b/sound/drivers/intel_mid_hdmi/Makefile
@@ -0,0 +1,3 @@
+EXTRA_CFLAGS += -Idrivers/staging/mrst/drv
+obj-$(CONFIG_SND_INTELMID_HDMI_AUDIO)  += intel_mid_had.o
+intel_mid_had-objs := intel_mid_hdmi_audio.o intel_mid_hdmi_audio_if.o
-- 
1.6.2.5

_______________________________________________
MeeGo-kernel mailing list
[email protected]
http://lists.meego.com/listinfo/meego-kernel

Reply via email to