]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/soc/at91/eti_b1_wm8731.c
ALSA: ASoC: Convert wm8731 to a new-style i2c driver
[linux-2.6-omap-h63xx.git] / sound / soc / at91 / eti_b1_wm8731.c
index d532de954241d6bda834fb9df868f411f4bf0df6..684781e4088b5fbac480a7307c7b5f420ce68291 100644 (file)
@@ -22,7 +22,6 @@
 
 #include <linux/module.h>
 #include <linux/moduleparam.h>
-#include <linux/version.h>
 #include <linux/kernel.h>
 #include <linux/clk.h>
 #include <linux/timer.h>
@@ -33,8 +32,8 @@
 #include <sound/soc.h>
 #include <sound/soc-dapm.h>
 
-#include <asm/hardware.h>
-#include <asm/arch/gpio.h>
+#include <mach/hardware.h>
+#include <mach/gpio.h>
 
 #include "../codecs/wm8731.h"
 #include "at91-pcm.h"
@@ -244,6 +243,7 @@ static struct snd_soc_machine snd_soc_machine_eti_b1 = {
 };
 
 static struct wm8731_setup_data eti_b1_wm8731_setup = {
+       .i2c_bus = 0,
        .i2c_address = 0x1a,
 };