diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2012-04-03 12:00:18 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-04-19 19:31:34 +0100 |
commit | 08956a0e8a697edb566766536b2fbbb168ac6ecc (patch) | |
tree | bbde880150dc9cbb774003f2255ce5706067adfe /arch/arm/mach-ux500/devices-db8500.h | |
parent | 4ff35d863ea2cbce2dc6c708b80be12e5b74226b (diff) | |
download | blackbird-op-linux-08956a0e8a697edb566766536b2fbbb168ac6ecc.tar.gz blackbird-op-linux-08956a0e8a697edb566766536b2fbbb168ac6ecc.zip |
ARM: 7372/1: ux500: factor out dynamic amba device allocator
This replaces the dynamic device allocator in the ux500 machine
with the common device allocator in the bus code.
Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Cc: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ux500/devices-db8500.h')
-rw-r--r-- | arch/arm/mach-ux500/devices-db8500.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/devices-db8500.h b/arch/arm/mach-ux500/devices-db8500.h index 9fd93e9da529..6fc7eb24d9a0 100644 --- a/arch/arm/mach-ux500/devices-db8500.h +++ b/arch/arm/mach-ux500/devices-db8500.h @@ -31,7 +31,7 @@ static inline struct amba_device * db8500_add_ssp(struct device *parent, const char *name, resource_size_t base, int irq, struct pl022_ssp_controller *pdata) { - return dbx500_add_amba_device(parent, name, base, irq, pdata, 0); + return amba_ahb_device_add(parent, name, base, SZ_4K, irq, 0, pdata, 0); } |