diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig index a5793c13f50ca415c13330d3214464e833b212e8..e8ee5fa017b6aeea466dd66383af201d2519d086 100644 --- a/arch/avr32/Kconfig +++ b/arch/avr32/Kconfig @@ -88,6 +88,7 @@ config PLATFORM_AT32AP select MMU select PERFORMANCE_COUNTERS select HAVE_GPIO_LIB + select GENERIC_ALLOCATOR # # CPU types diff --git a/arch/avr32/mach-at32ap/at32ap700x.c b/arch/avr32/mach-at32ap/at32ap700x.c index 3ee5e7278790c10836adbc3b272dda9a453411f4..07b21b121eef995726a6e8a981f3c416497e997e 100644 --- a/arch/avr32/mach-at32ap/at32ap700x.c +++ b/arch/avr32/mach-at32ap/at32ap700x.c @@ -20,6 +20,7 @@ #include #include #include +#include #include