Files
i2som-imx-linux/include/linux/imx_gpc.h
Li Jun 631f9966da MLK-14947-1 gpc: imx: empty imx_gpc_mf_request_on if imx gpc is not used
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>
2018-03-19 15:22:23 -05:00

34 lines
744 B
C

/*
* Copyright (C) 2015 Freescale Semiconductor, Inc.
*/
/*
* The code contained herein is licensed under the GNU Lesser General
* Public License. You may obtain a copy of the GNU Lesser General
* Public License Version 2.1 or later at the following locations:
*
* http://www.opensource.org/licenses/lgpl-license.html
* http://www.gnu.org/copyleft/lgpl.html
*/
/*
* @file linux/imx_gpc.h
*
* @brief Global header file for imx GPC
*
* @ingroup GPC
*/
#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__ */