aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/include/mach/devices-common.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-02 05:03:51 -0400
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-17 04:01:20 -0500
commite08300043ee4e2df10be551b76e126d6c02f26cc (patch)
tree7b6125c6d6bb3d6e853bc251077fa4ac28223f7d /arch/arm/plat-mxc/include/mach/devices-common.h
parent300f86da1787c680598ea441aaa602a1664fba86 (diff)
ARM: imx: dynamically allocate imx_udc device
This is only available for mx1 machines with no in-tree user. 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.h16
1 files changed, 16 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 431e0ef4a832..4eb45fa53ac5 100644
--- a/arch/arm/plat-mxc/include/mach/devices-common.h
+++ b/arch/arm/plat-mxc/include/mach/devices-common.h
@@ -82,6 +82,22 @@ struct platform_device *__init imx_add_imx_uart_1irq(
82 const struct imx_imx_uart_1irq_data *data, 82 const struct imx_imx_uart_1irq_data *data,
83 const struct imxuart_platform_data *pdata); 83 const struct imxuart_platform_data *pdata);
84 84
85#include <mach/usb.h>
86struct imx_imx_udc_data {
87 resource_size_t iobase;
88 resource_size_t iosize;
89 resource_size_t irq0;
90 resource_size_t irq1;
91 resource_size_t irq2;
92 resource_size_t irq3;
93 resource_size_t irq4;
94 resource_size_t irq5;
95 resource_size_t irq6;
96};
97struct platform_device *__init imx_add_imx_udc(
98 const struct imx_imx_udc_data *data,
99 const struct imxusb_platform_data *pdata);
100
85#include <mach/mxc_nand.h> 101#include <mach/mxc_nand.h>
86struct imx_mxc_nand_data { 102struct imx_mxc_nand_data {
87 /* 103 /*