]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
mfd: davinci_voicecodec: Fix build breakage
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 18 Jun 2013 10:05:39 +0000 (15:35 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 20 Jun 2013 08:23:11 +0000 (10:23 +0200)
Include the missing header file to fix the following build error:
drivers/mfd/davinci_voicecodec.c: In function ‘davinci_vc_probe’:
drivers/mfd/davinci_voicecodec.c:86:3: error: implicit declaration of function
‘io_v2p’ [-Werror=implicit-function-declaration]
   (dma_addr_t)(io_v2p(davinci_vc->base) + DAVINCI_VC_WFIFO);

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
include/linux/mfd/davinci_voicecodec.h

index 94c53d4819c758d2ff1a8d20bc4d9b51300ea296..810aee7e53eb3f2691e70c4cc94b66ccea5c4e20 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/mfd/core.h>
 
 #include <mach/edma.h>
+#include <mach/hardware.h>
 
 /*
  * Register values.