aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCédric Le Goater <clg@fr.ibm.com>2015-02-24 12:14:20 +0100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-26 18:19:40 +1100
commit633d3214ed10a804dd420b9efb6d3ebe49aad694 (patch)
treeb5ce4afd49aa4ae9a7d9c2a68ec73dd7a7815bd7 /include
parent71412289a28b23dc459dae472a0264ca660cd7df (diff)
downloadskiboot-633d3214ed10a804dd420b9efb6d3ebe49aad694.zip
skiboot-633d3214ed10a804dd420b9efb6d3ebe49aad694.tar.gz
skiboot-633d3214ed10a804dd420b9efb6d3ebe49aad694.tar.bz2
sparse: declare platform as extern
Signed-off-by: Cédric Le Goater <clg@fr.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/platform.h b/include/platform.h
index 9c40251..bdf8bdf 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -144,7 +144,7 @@ struct platform {
extern struct platform __platforms_start;
extern struct platform __platforms_end;
-struct platform platform;
+extern struct platform platform;
#define DECLARE_PLATFORM(name)\
static const struct platform __used __section(".platforms") name ##_platform