Skip to content

Commit

Permalink
mfd: davinci_voicecodec: Fix build breakage
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin Kamat authored and Samuel Ortiz committed Jun 20, 2013
1 parent 031d307 commit 9971747
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/mfd/davinci_voicecodec.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <linux/mfd/core.h>

#include <mach/edma.h>
#include <mach/hardware.h>

/*
* Register values.
Expand Down

0 comments on commit 9971747

Please sign in to comment.