diff options
author | Maxime Ripard | 2014-07-02 17:49:28 +0200 |
---|---|---|
committer | Nicolas Ferre | 2014-08-25 16:04:26 +0200 |
commit | 65f2ce96a94d2a61fca486a48d9da30845b16d20 (patch) | |
tree | 34c871ffa582c8c4182c814a9ced555f34112e12 /arch/arm/mach-at91/setup.c | |
parent | ARM: at91: Remove the old-style reset probing (diff) | |
download | kernel-qcow2-linux-65f2ce96a94d2a61fca486a48d9da30845b16d20.tar.gz kernel-qcow2-linux-65f2ce96a94d2a61fca486a48d9da30845b16d20.tar.xz kernel-qcow2-linux-65f2ce96a94d2a61fca486a48d9da30845b16d20.zip |
ARM: at91/soc: Introduce register_devices callback
Some core devices should be registered by the SoC itself rather than by every
board using this SoC. Introduce a register_devices callback that should be
called during the init_machine in order to do that.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/setup.c')
-rw-r--r-- | arch/arm/mach-at91/setup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c index 640c21e43a42..25196d5096be 100644 --- a/arch/arm/mach-at91/setup.c +++ b/arch/arm/mach-at91/setup.c @@ -510,3 +510,8 @@ void __init at91_initialize(unsigned long main_clock) pinctrl_provide_dummies(); } + +void __init at91_register_devices(void) +{ + at91_boot_soc.register_devices(); +} |