summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/serial.c
diff options
context:
space:
mode:
authorKevin Hilman2011-08-01 18:33:13 +0200
committerKevin Hilman2011-09-16 01:35:47 +0200
commit9f8b6949d78f1306eef0edc14bc1fbcaf3e58ad0 (patch)
tree25d24e2eeb52bfa1116322d681fd54a08d18f6c0 /arch/arm/mach-omap2/serial.c
parentOMAP: omap_device: device register functions now take platform_device pointer (diff)
downloadkernel-qcow2-linux-9f8b6949d78f1306eef0edc14bc1fbcaf3e58ad0.tar.gz
kernel-qcow2-linux-9f8b6949d78f1306eef0edc14bc1fbcaf3e58ad0.tar.xz
kernel-qcow2-linux-9f8b6949d78f1306eef0edc14bc1fbcaf3e58ad0.zip
OMAP: omap_device: _disable_idle_on_suspend() takes platform_device pointer
Public omap_device functions need to take platform_device pointers, conversion to omap_device pointers is done internal to the omap_device layer. Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/serial.c')
-rw-r--r--arch/arm/mach-omap2/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
index 53b680878138..3d1c1d393f8f 100644
--- a/arch/arm/mach-omap2/serial.c
+++ b/arch/arm/mach-omap2/serial.c
@@ -805,7 +805,7 @@ void __init omap_serial_init_port(struct omap_board_data *bdata)
WARN(IS_ERR(pdev), "Could not build omap_device for %s: %s.\n",
name, oh->name);
- omap_device_disable_idle_on_suspend(od);
+ omap_device_disable_idle_on_suspend(pdev);
oh->mux = omap_hwmod_mux_init(bdata->pads, bdata->pads_cnt);
uart->irq = oh->mpu_irqs[0].irq;