summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/devices/devices-common.h
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2013-01-17 18:03:15 +0800
committerFelipe Balbi <balbi@ti.com>2013-01-18 14:08:20 +0200
commitf0ea8834df058371d1e59012d4a67488429fb4a2 (patch)
treed4c4aa21d8c6de1890e6526e169441e39e868c96 /arch/arm/mach-imx/devices/devices-common.h
parent091a62c9b3d899d99dbf4e3dbebc8dfa3edbccdd (diff)
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.h1
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;
};