summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/include/mach/devices-common.h
diff options
context:
space:
mode:
authorAlison Wang <b18965@freescale.com>2012-10-09 12:36:45 +0800
committerAndy Voltz <andy.voltz@timesys.com>2012-10-17 14:37:26 -0400
commit303f7cf53e94893d816f7e77d4d03b4311b6aece (patch)
tree836dad917b5938d9ca41813da43f85420042cc6b /arch/arm/plat-mxc/include/mach/devices-common.h
parentadb31b21d85a1d8d1aff1e5177f393d4a49bf0e7 (diff)
ENGR00181358-3: fec: add second FEC support for Vybrid
Add second FEC support for Vybrid. Signed-off-by: Alison Wang <b18965@freescale.com>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/devices-common.h')
-rwxr-xr-xarch/arm/plat-mxc/include/mach/devices-common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/devices-common.h b/arch/arm/plat-mxc/include/mach/devices-common.h
index 2ba8c8663402..a8a8034c1010 100755
--- a/arch/arm/plat-mxc/include/mach/devices-common.h
+++ b/arch/arm/plat-mxc/include/mach/devices-common.h
@@ -37,7 +37,11 @@ struct imx_fec_data {
resource_size_t iobase;
resource_size_t irq;
};
+
struct platform_device *__init imx_add_fec(
+#ifdef CONFIG_SOC_MVFA5
+ const int id,
+#endif
const struct imx_fec_data *data,
const struct fec_platform_data *pdata);