brcm2708: update linux 4.4 patches to latest version
[openwrt/staging/dedeckeh.git] / target / linux / brcm2708 / patches-4.4 / 0248-scripts-dtc-Only-emit-local-fixups-for-overlays.patch
1 From fffbc0bb693d462619402b4ca134c3d591e799bf 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 248/423] scripts/dtc: Only emit local fixups for overlays
5
6 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
7 ---
8 scripts/dtc/checks.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11 --- a/scripts/dtc/checks.c
12 +++ b/scripts/dtc/checks.c
13 @@ -514,7 +514,7 @@ static void fixup_phandle_references(str
14 }
15
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) {
19
20 /* allocate a new local fixup entry */
21 fe = xmalloc(sizeof(*fe));