resmgr: omap: correct platform device registration
authorSubramaniam C.A <subramaniam.ca@ti.com>
Mon, 7 May 2012 19:31:06 +0000 (14:31 -0500)
committerSubramaniam C.A <subramaniam.ca@ti.com>
Wed, 9 May 2012 03:52:28 +0000 (22:52 -0500)
commitf2e3f268daec8de463dab9da06b712bafa2ecfce
tree8f9be975cc14ab9987be2228b042b8f6a2e9621d
parent351f76b608021d740380a18cc3dc1c7cdd05553a
resmgr: omap: correct platform device registration

We need to call platform_device_add instead of platform_device_register
when we are using platform_device_alloc call

Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com>
arch/arm/mach-omap2/rpmsg_resmgr.c