Browse Source

mfd: davinci_voicecodec: Fix build breakage

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>
Sachin Kamat 12 years ago
parent
commit
9971747054
1 changed files with 1 additions and 0 deletions
  1. 1 0
      include/linux/mfd/davinci_voicecodec.h

+ 1 - 0
include/linux/mfd/davinci_voicecodec.h

@@ -28,6 +28,7 @@
 #include <linux/mfd/core.h>
 
 #include <mach/edma.h>
+#include <mach/hardware.h>
 
 /*
  * Register values.