Skip to content
Snippets Groups Projects
  • Sam Protsenko's avatar
    35e99836
    image: android: Fix possible build errors · 35e99836
    Sam Protsenko authored and Tom Rini's avatar Tom Rini committed
    
    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: default avatarSam Protsenko <semen.protsenko@linaro.org>
    35e99836
    History
    image: android: Fix possible build errors
    Sam Protsenko authored and Tom Rini's avatar Tom Rini committed
    
    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: default avatarSam Protsenko <semen.protsenko@linaro.org>