diff options
author | Peter Chen <peter.chen@freescale.com> | 2013-01-17 11:03:15 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-01-18 13:08:20 +0100 |
commit | f0ea8834df058371d1e59012d4a67488429fb4a2 (patch) | |
tree | d4c4aa21d8c6de1890e6526e169441e39e868c96 /arch/arm/mach-imx/devices/devices-common.h | |
parent | usb: musb: cppi_dma: drop '__init' annotation (diff) | |
download | linux-f0ea8834df058371d1e59012d4a67488429fb4a2.tar.xz linux-f0ea8834df058371d1e59012d4a67488429fb4a2.zip |
usb: gadget: fsl-mxc-udc: replace cpu_is_xxx() with platform_device_id
As mach/hardware.h is deleted, we need to use platform_device_id to
differentiate SoCs. Besides, one cpu_is_mx35 is useless as it has
already used pdata to differentiate runtime
Meanwhile we update the platform code accordingly.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'arch/arm/mach-imx/devices/devices-common.h')
-rw-r--r-- | arch/arm/mach-imx/devices/devices-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/devices/devices-common.h b/arch/arm/mach-imx/devices/devices-common.h index 6277baf1b7be..9bd5777ff0e7 100644 --- a/arch/arm/mach-imx/devices/devices-common.h +++ b/arch/arm/mach-imx/devices/devices-common.h @@ -63,6 +63,7 @@ struct platform_device *__init imx_add_flexcan( #include <linux/fsl_devices.h> struct imx_fsl_usb2_udc_data { + const char *devid; resource_size_t iobase; resource_size_t irq; }; |