summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/devices/devices-common.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/devices-common.h
parent38ae92dc215e939897f17861d658f882d0eaab0f (diff)
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/devices-common.h')
-rw-r--r--arch/arm/mach-imx/devices/devices-common.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/devices/devices-common.h b/arch/arm/mach-imx/devices/devices-common.h
index 453e20bc2657..c13b76b9f6b3 100644
--- a/arch/arm/mach-imx/devices/devices-common.h
+++ b/arch/arm/mach-imx/devices/devices-common.h
@@ -50,7 +50,6 @@ struct platform_device *__init imx_add_fec(
const struct imx_fec_data *data,
const struct fec_platform_data *pdata);
-#include <linux/can/platform/flexcan.h>
struct imx_flexcan_data {
int id;
resource_size_t iobase;
@@ -58,8 +57,7 @@ struct imx_flexcan_data {
resource_size_t irq;
};
struct platform_device *__init imx_add_flexcan(
- const struct imx_flexcan_data *data,
- const struct flexcan_platform_data *pdata);
+ const struct imx_flexcan_data *data);
#include <linux/fsl_devices.h>
struct imx_fsl_usb2_udc_data {