arch: arm: stm32: correct include issue

This commit correct the issue introduce by aee97be which
changed the order of header inclusion that lead
to warning generation at compilation, that truend into errors
in CI.
This commit reinstantiate the initial header inclusion order.

Fixes #8563
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
This commit is contained in:
Christophe Priouzeau 2018-06-27 14:33:51 +02:00 committed by Kumar Gala
commit 30529da0e4
2 changed files with 2 additions and 3 deletions

View file

@ -24,9 +24,8 @@
#ifndef _ASMLANGUAGE
#include <stm32f4xx.h>
#include <kernel_includes.h>
#include <stm32f4xx.h>
#ifdef CONFIG_CLOCK_CONTROL_STM32_CUBE
#include <stm32f4xx_ll_utils.h>

View file

@ -22,8 +22,8 @@
#ifndef _ASMLANGUAGE
#include <autoconf.h>
#include <stm32l4xx.h>
#include <kernel_includes.h>
#include <stm32l4xx.h>
#define GPIO_REG_SIZE 0x400
/* base address for where GPIO registers start */