diff options
Diffstat (limited to 'arch/arm/mach-omap2/serial.c')
-rw-r--r-- | arch/arm/mach-omap2/serial.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index 812976eac536..aa30a3c20883 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c | |||
@@ -330,6 +330,11 @@ void __init omap_serial_init_port(struct omap_board_data *bdata, | |||
330 | 330 | ||
331 | oh->mux = omap_hwmod_mux_init(bdata->pads, bdata->pads_cnt); | 331 | oh->mux = omap_hwmod_mux_init(bdata->pads, bdata->pads_cnt); |
332 | 332 | ||
333 | if (console_uart_id == bdata->id) { | ||
334 | omap_device_enable(pdev); | ||
335 | pm_runtime_set_active(&pdev->dev); | ||
336 | } | ||
337 | |||
333 | oh->dev_attr = uart; | 338 | oh->dev_attr = uart; |
334 | 339 | ||
335 | if (((cpu_is_omap34xx() || cpu_is_omap44xx()) && bdata->pads) | 340 | if (((cpu_is_omap34xx() || cpu_is_omap44xx()) && bdata->pads) |