From: Mingkai Hu Date: Sun, 7 Apr 2013 22:13:32 +0000 (+0000) Subject: cmd_sf: include header file common.h before div64.h X-Git-Tag: v2013.04-rc3~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=381c6e2c90ed083281649e74e461a303c1ffab47;p=kernel%2Fu-boot.git cmd_sf: include header file common.h before div64.h The header file div64.h includes which defines the phys_addr_t according to the macro CONFIG_PHYS_64BIT, while the macro CONFIG_PHYS_64BIT is included in common.h which comes after div64.h, so in order to get consistent type definition for phys_addr_t, common.h should be included before div64.h, Or else, the parameters of phys_addr_t type will be passed wrongly when CONFIG_PHYS_64BIT is defined. Signed-off-by: Mingkai Hu --- diff --git a/common/cmd_sf.c b/common/cmd_sf.c index 3f0d414..0a17782 100644 --- a/common/cmd_sf.c +++ b/common/cmd_sf.c @@ -5,8 +5,8 @@ * Licensed under the GPL-2 or later. */ -#include #include +#include #include #include