tools: renesas_spkgimage.h: use linux/compiler_attributes.h
The attribute __packed was defined in the file tools/renesas_spkgimage.h but this attribute is already defined in linux/compiler_attributes.h. So we include <linux/compiler_attributes.h.h> and do not define __packed. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
This commit is contained in:

committed by
Tom Rini

parent
eec32a35d7
commit
f88ccd32b5
@@ -11,11 +11,7 @@
|
|||||||
#ifndef _SPKGIMAGE_H_
|
#ifndef _SPKGIMAGE_H_
|
||||||
#define _SPKGIMAGE_H_
|
#define _SPKGIMAGE_H_
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#include <linux/compiler_attributes.h>
|
||||||
#define __packed __attribute((packed))
|
|
||||||
#else
|
|
||||||
#define __packed
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define SPKG_HEADER_MARKER {'R', 'Z', 'N', '1'}
|
#define SPKG_HEADER_MARKER {'R', 'Z', 'N', '1'}
|
||||||
#define SPKG_HEADER_SIZE 24
|
#define SPKG_HEADER_SIZE 24
|
||||||
|
Reference in New Issue
Block a user