]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: at91: Call at91_register_devices in the board files
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 3 Jul 2014 09:55:33 +0000 (11:55 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 25 Aug 2014 14:05:27 +0000 (16:05 +0200)
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>
arch/arm/mach-at91/board-afeb-9260v1.c
arch/arm/mach-at91/board-cam60.c
arch/arm/mach-at91/board-cpu9krea.c
arch/arm/mach-at91/board-flexibity.c
arch/arm/mach-at91/board-sam9-l9260.c
arch/arm/mach-at91/board-sam9260ek.c
arch/arm/mach-at91/board-sam9261ek.c
arch/arm/mach-at91/board-sam9263ek.c
arch/arm/mach-at91/board-sam9m10g45ek.c
arch/arm/mach-at91/board-sam9rlek.c
arch/arm/mach-at91/board-snapper9260.c

index 597c649170aa6f0940ac9e4497b29260f829f52d..fc9621ccb606dc2be515187b31dec5befeae58fa 100644 (file)
@@ -167,6 +167,8 @@ static struct at91_cf_data afeb9260_cf_data = {
 
 static void __init afeb9260_board_init(void)
 {
+       at91_register_devices();
+
        /* Serial */
        /* DBGU on ttyS0. (Rx & Tx only) */
        at91_register_uart(0, 0, 0);
index a30502c8d3790b89ac80d04b3d12d7290f9e14b7..283655bd86c154209dc5dd7a1c6f7d3dd8030696 100644 (file)
@@ -170,6 +170,8 @@ static void __init cam60_add_device_nand(void)
 
 static void __init cam60_board_init(void)
 {
+       at91_register_devices();
+
        /* Serial */
        /* DBGU on ttyS0. (Rx & Tx only) */
        at91_register_uart(0, 0, 0);
index 2037f78c84e7c7c4e0eef21f4f050a2a07d3ae0d..29a89032bb9a8889a88f707341a71612f02c1ccc 100644 (file)
@@ -322,6 +322,8 @@ static struct mci_platform_data __initdata cpu9krea_mci0_data = {
 
 static void __init cpu9krea_board_init(void)
 {
+       at91_register_devices();
+
        /* NOR */
        cpu9krea_add_device_nor();
        /* Serial */
index 68f1ab6bd08f499dc7e9a5366071024d14685150..79bd411b0cee8b97ceb817649bfb57948f581156 100644 (file)
@@ -138,6 +138,8 @@ static struct gpio_led flexibity_leds[] = {
 
 static void __init flexibity_board_init(void)
 {
+       at91_register_devices();
+
        /* Serial */
        /* DBGU on ttyS0. (Rx & Tx only) */
        at91_register_uart(0, 0, 0);
index d24dda67e2d343c49259b654c3d2d8d5266759aa..70309404f366947f7872dcea793105246b856382 100644 (file)
@@ -187,6 +187,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);
index 65dea12d685ef98ef32e04aade12bf1f2be0d9b5..da9c5f1f2c49d713a6c1a4498bd25773b3956cd0 100644 (file)
@@ -307,6 +307,8 @@ static void __init ek_add_device_buttons(void) {}
 
 static void __init ek_board_init(void)
 {
+       at91_register_devices();
+
        /* Serial */
        /* DBGU on ttyS0. (Rx & Tx only) */
        at91_register_uart(0, 0, 0);
index 4637432de08f32486e0345b71bc15af121e69d95..d1be10b09ab3c9fb87ab389d9adf333aa252803e 100644 (file)
@@ -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);
index fc446097f410846b7d0c8fe3d347863317d4b696..7ccaf3be6e80ff104f4b254d05520a522468cf88 100644 (file)
@@ -439,6 +439,8 @@ static struct platform_device *devices[] __initdata = {
 
 static void __init ek_board_init(void)
 {
+       at91_register_devices();
+
        /* Serial */
        /* DBGU on ttyS0. (Rx & Tx only) */
        at91_register_uart(0, 0, 0);
index b227732b0c8343155a35d57e6ca9f8bcb530ed91..7b8bc961a5d5273742c09a0020aae63e5721d46d 100644 (file)
@@ -471,6 +471,8 @@ static struct platform_device *devices[] __initdata = {
 
 static void __init ek_board_init(void)
 {
+       at91_register_devices();
+
        /* Serial */
        /* DGBU on ttyS0. (Rx & Tx only) */
        at91_register_uart(0, 0, 0);
index b64648b4a1fc9a8720d0b3f45495b08240beba48..262e3f957d9f4f74cf8eadf267807fb68cdde2b8 100644 (file)
@@ -292,6 +292,8 @@ static void __init ek_add_device_buttons(void) {}
 
 static void __init ek_board_init(void)
 {
+       at91_register_devices();
+
        /* Serial */
        /* DBGU on ttyS0. (Rx & Tx only) */
        at91_register_uart(0, 0, 0);
index 1b870e6def0cf54b5ea692e5e244a7d69a187b61..2a817b85569f5e5ebe4d7548b008d34cc419a024 100644 (file)
@@ -154,6 +154,8 @@ static void __init snapper9260_add_device_nand(void)
 
 static void __init snapper9260_board_init(void)
 {
+       at91_register_devices();
+
        at91_add_device_i2c(snapper9260_i2c_devices,
                            ARRAY_SIZE(snapper9260_i2c_devices));