ARM: S3C64XX: Fix build with WM1190 disabled and WM1192 enabled on SMDK6410
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-s3c64xx / mach-smdk6410.c
index 77488facfe4cab45ad9c8c9ea996e06138ec0074..a74f2c9f9f36e2195cfc04d18cc7cf866bf912d6 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/delay.h>
 #include <linux/smsc911x.h>
 #include <linux/regulator/fixed.h>
+#include <linux/regulator/machine.h>
 
 #ifdef CONFIG_SMDK6410_WM1190_EV1
 #include <linux/mfd/wm8350/core.h>
@@ -283,7 +284,7 @@ static struct platform_device *smdk6410_devices[] __initdata = {
        &s3c_device_fb,
        &s3c_device_ohci,
        &s3c_device_usb_hsotg,
-       &s3c_device_pcm,
+       &samsung_asoc_dma,
        &s3c64xx_device_iisv4,
        &samsung_device_keypad,