]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ARM: OMAP: omap_device: Add omap_device_[alloc|delete] for DT integration
authorBenoit Cousson <b-cousson@ti.com>
Tue, 9 Aug 2011 14:47:01 +0000 (16:47 +0200)
committerKevin Hilman <khilman@ti.com>
Tue, 4 Oct 2011 16:52:23 +0000 (09:52 -0700)
commita4f6cdb0672fe9f171b1e8a0faa121b5d76e1c4a
tree258c84e4f5fbec8e3f353a199724639d6ea6dcf6
parent4fcd15a032cec4b2684a32c86e895b50cdbee50c
ARM: OMAP: omap_device: Add omap_device_[alloc|delete] for DT integration

Split the omap_device_build_ss into two smaller functions
that will allow to populate a platform_device already allocated by
device-tree.

The functionality of the omap_device_build_ss is still the same, but
the omap_device_alloc will be usable with devices already built by
device-tree.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/plat-omap/omap_device.c