image: android: Fix possible build errors
authorSam Protsenko <semen.protsenko@linaro.org>
Fri, 9 Aug 2019 12:31:29 +0000 (15:31 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 15 Oct 2019 13:56:04 +0000 (09:56 -0400)
commit35e99836ca8a7c22ce4c94e95d872620acffd14d
treecc39e0f62d47187c3579d5c0b025183f9584e80e
parent6891152a4596d38ac25d2fe1238e3b6a938554b8
image: android: Fix possible build errors

As android_image.h uses types like u32, we need to include corresponding
headers in place. Otherwise the user will be forced to include those in
C file, or next build error can occur:

    include/android_image.h:32:5: error: unknown type name 'u32'
         u32 kernel_size; /* size in bytes */

Include required headers for data types used. While at it, remove
typedef struct, which is prohibited by kernel coding style, and fix the
comment.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
include/android_image.h