1 From e9e95f1830775a13ccd1a3746d7fa526ed2c722c Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Tue, 19 Apr 2016 13:55:29 +0100
4 Subject: [PATCH] scripts/dtc: Only emit local fixups for overlays
6 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
8 scripts/dtc/checks.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
11 --- a/scripts/dtc/checks.c
12 +++ b/scripts/dtc/checks.c
13 @@ -514,7 +514,7 @@ static void fixup_phandle_references(str
16 /* if it's a local reference, we need to record it */
17 - if (symbol_fixup_support) {
18 + if (symbol_fixup_support && dt->is_plugin) {
20 /* allocate a new local fixup entry */
21 fe = xmalloc(sizeof(*fe));