diff options
Diffstat (limited to 'include/linux/imx_gpc.h')
-rw-r--r-- | include/linux/imx_gpc.h | 8 |
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__ */ |