From: Linus Walleij Date: Tue, 3 Apr 2012 10:58:42 +0000 (+0100) Subject: ARM: 7369/1: amba: add functions to add devices dynamically X-Git-Tag: v3.5-rc1~182^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6026aa907b16677d32593c5b7dea134380f51f7f;p=pandora-kernel.git ARM: 7369/1: amba: add functions to add devices dynamically Add two functions to add APB and AHB devices to the amba (PrimeCell) bus dynamically. This is modeled after the static definition macros recently introduced into and can help us in factoring out a bunch of code across the kernel. Since a lot of call sites seem to be using a returned struct amba device* pointer, let's use that. Signed-off-by: Linus Walleij Signed-off-by: Russell King --- Reading git-diff-tree failed