summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx5/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx5/devices.c')
-rwxr-xr-xarch/arm/mach-mx5/devices.c18
1 files changed, 14 insertions, 4 deletions
diff --git a/arch/arm/mach-mx5/devices.c b/arch/arm/mach-mx5/devices.c
index f6f3f68e26a8..b8573a514873 100755
--- a/arch/arm/mach-mx5/devices.c
+++ b/arch/arm/mach-mx5/devices.c
@@ -1,6 +1,6 @@
/*
* Copyright 2009 Amit Kucheria <amit.kucheria@canonical.com>
- * Copyright (C) 2010-2011 Freescale Semiconductor, Inc.
+ * Copyright (C) 2010-2012 Freescale Semiconductor, Inc.
*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
@@ -17,6 +17,16 @@
#include <mach/imx-uart.h>
#include <mach/irqs.h>
+struct platform_device mxc_android_pmem_device = {
+ .name = "android_pmem",
+ .id = 0,
+};
+
+struct platform_device mxc_android_pmem_gpu_device = {
+ .name = "android_pmem",
+ .id = 1,
+};
+
static struct resource mxc_hsi2c_resources[] = {
{
.start = MX51_HSI2C_DMA_BASE_ADDR,
@@ -103,7 +113,7 @@ static struct resource usbotg_wakeup_resources[] = {
};
struct platform_device mxc_usbdr_wakeup_device = {
- .name = "usb_wakeup",
+ .name = "usb-wakeup",
.id = 0,
.num_resources = ARRAY_SIZE(usbotg_wakeup_resources),
.resource = usbotg_wakeup_resources,
@@ -167,7 +177,7 @@ static struct resource usbh1_wakeup_resources[] = {
};
struct platform_device mxc_usbh1_wakeup_device = {
- .name = "usb_wakeup",
+ .name = "usb-wakeup",
.id = 1,
.num_resources = ARRAY_SIZE(usbh1_wakeup_resources),
.resource = usbh1_wakeup_resources,
@@ -208,7 +218,7 @@ static struct resource usbh2_wakeup_resources[] = {
};
struct platform_device mxc_usbh2_wakeup_device = {
- .name = "usb_wakeup",
+ .name = "usb-wakeup",
.id = 2,
.num_resources = ARRAY_SIZE(usbh2_wakeup_resources),
.resource = usbh2_wakeup_resources,