]> git.karo-electronics.de Git - linux-beck.git/commit
ux500: rework device registration
authorRabin Vincent <rabin.vincent@stericsson.com>
Wed, 29 Sep 2010 14:16:32 +0000 (19:46 +0530)
committerLinus Walleij <linus.walleij@stericsson.com>
Wed, 8 Dec 2010 12:14:06 +0000 (13:14 +0100)
commitfbf1eadf950da1f5f5ed2e454d2f191f90fe1ebe
treea45df8b1d1e8e5bd76f524cff01dcf9e35d82f0a
parent1bde668c8afa279d81b8f26b2120b906f38f7822
ux500: rework device registration

Change the Ux500 devices to be dynamically allocated and added by
calling functions instead of referencing structures, thereby allowing
5500 and other derivatives' support to be added without having to
duplicate structures, use fixup functions, or use compile-time macros.

Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
15 files changed:
arch/arm/mach-ux500/Makefile
arch/arm/mach-ux500/board-mop500-sdi.c
arch/arm/mach-ux500/board-mop500.c
arch/arm/mach-ux500/board-u5500.c
arch/arm/mach-ux500/cpu-db5500.c
arch/arm/mach-ux500/cpu-db8500.c
arch/arm/mach-ux500/cpu.c
arch/arm/mach-ux500/devices-common.c [new file with mode: 0644]
arch/arm/mach-ux500/devices-common.h [new file with mode: 0644]
arch/arm/mach-ux500/devices-db5500.h [new file with mode: 0644]
arch/arm/mach-ux500/devices-db8500.c
arch/arm/mach-ux500/devices-db8500.h [new file with mode: 0644]
arch/arm/mach-ux500/devices.c
arch/arm/mach-ux500/include/mach/devices.h
arch/arm/mach-ux500/include/mach/setup.h