summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/board-sam9261ek.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2014-07-03 11:55:33 +0200
committerNicolas Ferre <nicolas.ferre@atmel.com>2014-08-25 16:05:27 +0200
commite76265c627ca0aff6cc129486ac656b6b6dd06af (patch)
tree843ab92bb9e7365a441004f2d29254386d22f8ea /arch/arm/mach-at91/board-sam9261ek.c
parentd8dfa2d4e912c091c51c864af1e4b02b3bd6e9a2 (diff)
downloadlinux-e76265c627ca0aff6cc129486ac656b6b6dd06af.tar.gz
linux-e76265c627ca0aff6cc129486ac656b6b6dd06af.tar.bz2
linux-e76265c627ca0aff6cc129486ac656b6b6dd06af.zip
ARM: at91: Call at91_register_devices in the board files
Make every board call the register_devices callback so that the devices declared by the SoC are registered. 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/board-sam9261ek.c')
-rw-r--r--arch/arm/mach-at91/board-sam9261ek.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/board-sam9261ek.c b/arch/arm/mach-at91/board-sam9261ek.c
index 4637432de08f..d1be10b09ab3 100644
--- a/arch/arm/mach-at91/board-sam9261ek.c
+++ b/arch/arm/mach-at91/board-sam9261ek.c
@@ -561,6 +561,8 @@ static struct gpio_led ek_leds[] = {
static void __init ek_board_init(void)
{
+ at91_register_devices();
+
/* Serial */
/* DBGU on ttyS0. (Rx & Tx only) */
at91_register_uart(0, 0, 0);