diff mbox series

script: Mark dtb pointers as extern

Message ID 20181023033528.31256-1-alistair@popple.id.au
State Accepted
Headers show
Series script: Mark dtb pointers as extern | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success master/apply_patch Successfully applied
snowpatch_ozlabs/build-multiarch fail Test build-multiarch on branch master

Commit Message

Alistair Popple Oct. 23, 2018, 3:35 a.m. UTC
From: Amitay Isaacs <amitay@ozlabs.org>

Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
---
 generate_dt_header.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/generate_dt_header.sh b/generate_dt_header.sh
index 80eef17..75350d4 100755
--- a/generate_dt_header.sh
+++ b/generate_dt_header.sh
@@ -16,9 +16,9 @@  cat - <<EOF
 #ifndef __${SYMBOL}_H__
 #define __${SYMBOL}_H__
 
-unsigned char ${SYM_START};
-unsigned char ${SYM_END};
-long ${SYM_SIZE};
+extern unsigned char ${SYM_START};
+extern unsigned char ${SYM_END};
+extern long ${SYM_SIZE};
 
 #endif /* __${SYMBOL}_H__ */
 EOF