ARM: OMAP2/3: Serial: Remove arch_initcall dependency
authorVikram Pandita <vikram.pandita@ti.com>
Thu, 28 May 2009 21:03:59 +0000 (14:03 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 28 May 2009 21:03:59 +0000 (14:03 -0700)
commit2aa57be2d9e400f498cf0f0636069a81035e06b9
tree8b7a8127686c13a3226a48b9f73280b949d0fb06
parentf247de346f67db1e252e4ed6c29d029a6e592398
ARM: OMAP2/3: Serial: Remove arch_initcall dependency

Move platform_device_register() for serial device to
omap_serial_init()

There is no need to have arch_initcall() dependency in serial
as already board files call the function omap_serial_init()

Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/serial.c