diff options
Diffstat (limited to 'arch/avr32/mach-at32ap/at32ap700x.c')
-rw-r--r-- | arch/avr32/mach-at32ap/at32ap700x.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/avr32/mach-at32ap/at32ap700x.c b/arch/avr32/mach-at32ap/at32ap700x.c index 8c435a6f4a6c..748ac68c73dc 100644 --- a/arch/avr32/mach-at32ap/at32ap700x.c +++ b/arch/avr32/mach-at32ap/at32ap700x.c | |||
@@ -813,7 +813,7 @@ static struct resource pio4_resource[] = { | |||
813 | DEFINE_DEV(pio, 4); | 813 | DEFINE_DEV(pio, 4); |
814 | DEV_CLK(mck, pio4, pba, 14); | 814 | DEV_CLK(mck, pio4, pba, 14); |
815 | 815 | ||
816 | void __init at32_add_system_devices(void) | 816 | static int __init system_device_init(void) |
817 | { | 817 | { |
818 | platform_device_register(&at32_pm0_device); | 818 | platform_device_register(&at32_pm0_device); |
819 | platform_device_register(&at32_intc0_device); | 819 | platform_device_register(&at32_intc0_device); |
@@ -832,7 +832,10 @@ void __init at32_add_system_devices(void) | |||
832 | platform_device_register(&pio2_device); | 832 | platform_device_register(&pio2_device); |
833 | platform_device_register(&pio3_device); | 833 | platform_device_register(&pio3_device); |
834 | platform_device_register(&pio4_device); | 834 | platform_device_register(&pio4_device); |
835 | |||
836 | return 0; | ||
835 | } | 837 | } |
838 | core_initcall(system_device_init); | ||
836 | 839 | ||
837 | /* -------------------------------------------------------------------- | 840 | /* -------------------------------------------------------------------- |
838 | * PSIF | 841 | * PSIF |