ARM: at91/soc: Introduce register_devices callback
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 2 Jul 2014 15:49:28 +0000 (17:49 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 25 Aug 2014 14:04:26 +0000 (16:04 +0200)
commit65f2ce96a94d2a61fca486a48d9da30845b16d20
tree34c871ffa582c8c4182c814a9ced555f34112e12
parent4b0a683cf16eac06385c96c2fcf21766818f757c
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>
arch/arm/mach-at91/generic.h
arch/arm/mach-at91/setup.c
arch/arm/mach-at91/soc.h