From: Jean-Jacques Hiblot Date: Mon, 2 Oct 2017 10:50:10 +0200 Subject: [U-Boot] [PATCH v6 08/10] fdtdec: sort include files In-Reply-To: References: <1505473053-32520-1-git-send-email-jjhiblot@ti.com> <1505473053-32520-9-git-send-email-jjhiblot@ti.com> Message-ID: <39460660-cded-b73e-9773-b2877b3a2ae5@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, On 25/09/2017 04:12, Simon Glass wrote: > Hi Jean-Jacques, > > On 15 September 2017 at 04:57, Jean-Jacques Hiblot wrote: >> Sort include files in accordance to U-Boot coding style. >> >> Signed-off-by: Jean-Jacques Hiblot >> --- >> lib/fdtdec.c | 10 +++++----- >> 1 file changed, 5 insertions(+), 5 deletions(-) >> >> diff --git a/lib/fdtdec.c b/lib/fdtdec.c >> index 630e040..f26d2eb 100644 >> --- a/lib/fdtdec.c >> +++ b/lib/fdtdec.c >> @@ -4,16 +4,16 @@ >> */ >> >> #ifndef USE_HOSTCC >> -#include >> #include >> +#include >> #include >> +#include > Actually that should go at the end where it is now. > > See: > > https://www.denx.de/wiki/U-Boot/CodingStyle Well I wasn't sure if dm/* should go at the end. I thought that maybe asm/*, arch/* and linux/* were 'special' cases. This impression was reinforced because in the example asm/* goes before arch/*, which does not follow the alphabetical order. So before I make the change in the patch, what would be the right place for dm/of_extra.h ? just before #include ? Thanks, Jean-Jacques > >> #include >> -#include >> -#include >> -#include >> #include >> +#include >> +#include >> +#include >> #include >> -#include >> #include >> >> DECLARE_GLOBAL_DATA_PTR; >> -- >> 1.9.1 >>