summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJason Yan <yanaijie@huawei.com>2020-04-15 16:48:53 +0800
committerJuergen Gross <jgross@suse.com>2020-04-17 07:45:12 +0200
commit74f4c438f22ca3fff157fb45e694805931487c55 (patch)
tree5b09539b92ec59ba647515586756366c92266a1d /arch
parent6b51fd3f65a22e3d1471b18a1d56247e246edd46 (diff)
arm/xen: make _xen_start_info static
Fix the following sparse warning: arch/arm64/xen/../../arm/xen/enlighten.c:39:19: warning: symbol '_xen_start_info' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Jason Yan <yanaijie@huawei.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org> Link: https://lore.kernel.org/r/20200415084853.5808-1-yanaijie@huawei.com Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/xen/enlighten.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/xen/enlighten.c b/arch/arm/xen/enlighten.c
index dd6804a64f1a..fd4e1ce1daf9 100644
--- a/arch/arm/xen/enlighten.c
+++ b/arch/arm/xen/enlighten.c
@@ -36,7 +36,7 @@
#include <linux/mm.h>
-struct start_info _xen_start_info;
+static struct start_info _xen_start_info;
struct start_info *xen_start_info = &_xen_start_info;
EXPORT_SYMBOL(xen_start_info);