diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-06-10 23:12:56 -0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-06-27 15:15:08 +0200 |
commit | 30caa4b763bf5973800633de55bae586ab443f78 (patch) | |
tree | c109c7d1394a18d9b72fafe3aff8f6d160612ee9 /arch/arm/mach-imx/devices-imx35.h | |
parent | 38ae92dc215e939897f17861d658f882d0eaab0f (diff) | |
download | op-kernel-dev-30caa4b763bf5973800633de55bae586ab443f78.zip op-kernel-dev-30caa4b763bf5973800633de55bae586ab443f78.tar.gz |
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-imx35.h')
-rw-r--r-- | arch/arm/mach-imx/devices-imx35.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-imx/devices-imx35.h b/arch/arm/mach-imx/devices-imx35.h index e2675f1..780d824 100644 --- a/arch/arm/mach-imx/devices-imx35.h +++ b/arch/arm/mach-imx/devices-imx35.h @@ -17,10 +17,10 @@ extern const struct imx_fsl_usb2_udc_data imx35_fsl_usb2_udc_data; imx_add_fsl_usb2_udc(&imx35_fsl_usb2_udc_data, pdata) extern const struct imx_flexcan_data imx35_flexcan_data[]; -#define imx35_add_flexcan(id, pdata) \ - imx_add_flexcan(&imx35_flexcan_data[id], pdata) -#define imx35_add_flexcan0(pdata) imx35_add_flexcan(0, pdata) -#define imx35_add_flexcan1(pdata) imx35_add_flexcan(1, pdata) +#define imx35_add_flexcan(id) \ + imx_add_flexcan(&imx35_flexcan_data[id]) +#define imx35_add_flexcan0() imx35_add_flexcan(0) +#define imx35_add_flexcan1() imx35_add_flexcan(1) extern const struct imx_imx2_wdt_data imx35_imx2_wdt_data; #define imx35_add_imx2_wdt() \ |