summaryrefslogtreecommitdiff
path: root/include/linux/imx_gpc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/imx_gpc.h')
-rw-r--r--include/linux/imx_gpc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/imx_gpc.h b/include/linux/imx_gpc.h
index 2cffa4be22aa..46a1f08472bb 100644
--- a/include/linux/imx_gpc.h
+++ b/include/linux/imx_gpc.h
@@ -21,5 +21,13 @@
#ifndef __LINUX_IMX_GPC_H__
#define __LINUX_IMX_GPC_H__
+#ifdef CONFIG_HAVE_IMX_GPC
int imx_gpc_mf_request_on(unsigned int irq, unsigned int on);
+#else
+static int imx_gpc_mf_request_on(unsigned int irq, unsigned int on)
+{
+ return 0;
+}
+#endif
+
#endif /* __LINUX_IMX_GPC_H__ */