[PATCH 1/2] mfd: davinci_voicecodec: Fix build breakage

From: Sachin Kamat
Date: Tue Jun 18 2013 - 06:20:33 EST


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@xxxxxxxxxx>
---
This series is based on Samuel's mfd-next tree and is compile tested.
---
include/linux/mfd/davinci_voicecodec.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/linux/mfd/davinci_voicecodec.h b/include/linux/mfd/davinci_voicecodec.h
index 0ab6132..6b0e974 100644
--- a/include/linux/mfd/davinci_voicecodec.h
+++ b/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.
--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/