ARM: amba: add amba_device allocation/add/put functions
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 18 Dec 2011 11:07:47 +0000 (11:07 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 25 Jan 2012 11:02:01 +0000 (11:02 +0000)
commitd5dc9271b25822f36d299f8cab985379743424b9
tree8fd978632dd624356e1686b1e081868427a46655
parentdffcb9c5f854b485a07a3620eba4e560c77b0032
ARM: amba: add amba_device allocation/add/put functions

Add functions to allocate and initialize AMBA device structures, and
add them to the Linux device manager.  This allows us to kill this
type of operation from individual platforms, moving it to core code.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/amba/bus.c
include/linux/amba/bus.h