diff options
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/devices-common.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/devices-common.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/arm/plat-mxc/include/mach/devices-common.h b/arch/arm/plat-mxc/include/mach/devices-common.h index a0ac84542298..830369ea80d0 100644 --- a/arch/arm/plat-mxc/include/mach/devices-common.h +++ b/arch/arm/plat-mxc/include/mach/devices-common.h | |||
@@ -34,9 +34,14 @@ struct platform_device *__init imx_add_fec( | |||
34 | const struct fec_platform_data *pdata); | 34 | const struct fec_platform_data *pdata); |
35 | 35 | ||
36 | #include <linux/can/platform/flexcan.h> | 36 | #include <linux/can/platform/flexcan.h> |
37 | struct platform_device *__init imx_add_flexcan(int id, | 37 | struct imx_flexcan_data { |
38 | resource_size_t iobase, resource_size_t iosize, | 38 | int id; |
39 | resource_size_t irq, | 39 | resource_size_t iobase; |
40 | resource_size_t iosize; | ||
41 | resource_size_t irq; | ||
42 | }; | ||
43 | struct platform_device *__init imx_add_flexcan( | ||
44 | const struct imx_flexcan_data *data, | ||
40 | const struct flexcan_platform_data *pdata); | 45 | const struct flexcan_platform_data *pdata); |
41 | 46 | ||
42 | #include <linux/gpio_keys.h> | 47 | #include <linux/gpio_keys.h> |