Empty imx_gpc_mf_request_on() if imx gpc is not available to pass compile
on i.mx8x.
Acked-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
#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__ */