Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sachin Kamat and committed by
Samuel Ortiz
99717470 031d3076

+1
+1
include/linux/mfd/davinci_voicecodec.h
··· 28 28 #include <linux/mfd/core.h> 29 29 30 30 #include <mach/edma.h> 31 + #include <mach/hardware.h> 31 32 32 33 /* 33 34 * Register values.