]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd8dd95cdaf5efb8c934ff3b8be5bdfa90a7cd3bb
tree8fd978632dd624356e1686b1e081868427a46655
parentbbacdca6c7197b65674a2fb0022fbf5bebcb2eab
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