summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/devices-imx25.h
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2013-06-10 23:12:56 -0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2013-06-27 15:15:08 +0200
commit30caa4b763bf5973800633de55bae586ab443f78 (patch)
treec109c7d1394a18d9b72fafe3aff8f6d160612ee9 /arch/arm/mach-imx/devices-imx25.h
parent38ae92dc215e939897f17861d658f882d0eaab0f (diff)
downloadtalos-obmc-linux-30caa4b763bf5973800633de55bae586ab443f78.tar.gz
talos-obmc-linux-30caa4b763bf5973800633de55bae586ab443f78.zip
ARM: imx: prepare for removal of flexcan_platform_data
As there are no imx in-tree users of flexcan_platform_data, this patch removes the possibility to register a flexcan device with platform data. The functionality to swith on/off CAN transceivers is added to DT via regulators in a later patch. Compile time tested with imx_v4_v5_defconfig and imx_v6_v7_defconfig. Acked-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/devices-imx25.h')
-rw-r--r--arch/arm/mach-imx/devices-imx25.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-imx/devices-imx25.h b/arch/arm/mach-imx/devices-imx25.h
index 0d2922bc575c..769563fdeaa0 100644
--- a/arch/arm/mach-imx/devices-imx25.h
+++ b/arch/arm/mach-imx/devices-imx25.h
@@ -13,10 +13,10 @@ extern const struct imx_fec_data imx25_fec_data;
imx_add_fec(&imx25_fec_data, pdata)
extern const struct imx_flexcan_data imx25_flexcan_data[];
-#define imx25_add_flexcan(id, pdata) \
- imx_add_flexcan(&imx25_flexcan_data[id], pdata)
-#define imx25_add_flexcan0(pdata) imx25_add_flexcan(0, pdata)
-#define imx25_add_flexcan1(pdata) imx25_add_flexcan(1, pdata)
+#define imx25_add_flexcan(id) \
+ imx_add_flexcan(&imx25_flexcan_data[id])
+#define imx25_add_flexcan0() imx25_add_flexcan(0)
+#define imx25_add_flexcan1() imx25_add_flexcan(1)
extern const struct imx_fsl_usb2_udc_data imx25_fsl_usb2_udc_data;
#define imx25_add_fsl_usb2_udc(pdata) \
OpenPOWER on IntegriCloud