summaryrefslogtreecommitdiff
path: root/include/version.h
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2013-03-12 10:44:00 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-03-11 05:53:49 +0000
commitd63999a12b3bfc5d6a58b08a3bb01a75882324fd (patch)
tree306c1cab7d36a06b3b8a1678e09d82fc6d006762 /include/version.h
parente926fd63118e7da18373f5d0eae0b24dc4ab8b42 (diff)
downloadchrome-ec-d63999a12b3bfc5d6a58b08a3bb01a75882324fd.tar.gz
properly define __packed when using it
we don't want to get a __packed symbol, so we need to define __package attribute before using it for "struct version_struct". Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=none BUG=none TEST="make buildall" and verify that we no longer have a __packed symbol in any of the build/<board/ec.{RO|RW}.map. Change-Id: I4c229660f9b751a9149c08261fe71154067e6e62 Reviewed-on: https://chromium-review.googlesource.com/189223 Reviewed-by: Randall Spangler <rspangler@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include/version.h')
-rw-r--r--include/version.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/version.h b/include/version.h
index 18968ce072..42d176916f 100644
--- a/include/version.h
+++ b/include/version.h
@@ -8,6 +8,8 @@
#ifndef __CROS_EC_VERSION_H
#define __CROS_EC_VERSION_H
+#include "common.h"
+
#define CROS_EC_VERSION_COOKIE1 0xce112233
#define CROS_EC_VERSION_COOKIE2 0xce445566