diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-09 11:52:14 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-17 04:01:32 -0500 |
commit | bd455ed36c487b949068182bfee478b785ee090b (patch) | |
tree | fbee7b69033757465dc673c031ab2304b43a7fab /arch/arm/plat-mxc/include/mach/devices-common.h | |
parent | 2eb42d5c287f5e883a4b3ebe668ba880caa351e5 (diff) |
ARM: imx: dynamically allocate fsl-usb2-udc devices
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/devices-common.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/devices-common.h | 9 |
1 files changed, 9 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 7df7a9f8c5ed..f01fd28dd4f6 100644 --- a/arch/arm/plat-mxc/include/mach/devices-common.h +++ b/arch/arm/plat-mxc/include/mach/devices-common.h | |||
@@ -44,6 +44,15 @@ struct platform_device *__init imx_add_flexcan( | |||
44 | const struct imx_flexcan_data *data, | 44 | const struct imx_flexcan_data *data, |
45 | const struct flexcan_platform_data *pdata); | 45 | const struct flexcan_platform_data *pdata); |
46 | 46 | ||
47 | #include <linux/fsl_devices.h> | ||
48 | struct imx_fsl_usb2_udc_data { | ||
49 | resource_size_t iobase; | ||
50 | resource_size_t irq; | ||
51 | }; | ||
52 | struct platform_device *__init imx_add_fsl_usb2_udc( | ||
53 | const struct imx_fsl_usb2_udc_data *data, | ||
54 | const struct fsl_usb2_platform_data *pdata); | ||
55 | |||
47 | #include <linux/gpio_keys.h> | 56 | #include <linux/gpio_keys.h> |
48 | struct platform_device *__init imx_add_gpio_keys( | 57 | struct platform_device *__init imx_add_gpio_keys( |
49 | const struct gpio_keys_platform_data *pdata); | 58 | const struct gpio_keys_platform_data *pdata); |