summaryrefslogtreecommitdiffstats
path: root/sys/arm/amlogic
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2016-02-11 11:49:27 +0000
committerandrew <andrew@FreeBSD.org>2016-02-11 11:49:27 +0000
commitc53e320c2be6eebf1949ef58119c1c7b085b3ede (patch)
tree8642b6c3fa50ab7e1044127ce1ddb1650b57c0fc /sys/arm/amlogic
parent22740a9120e19a52ed66c53b7f37749b5132535a (diff)
downloadFreeBSD-src-c53e320c2be6eebf1949ef58119c1c7b085b3ede.zip
FreeBSD-src-c53e320c2be6eebf1949ef58119c1c7b085b3ede.tar.gz
Stop defining fdt_pic_table when building for ARM_INTRNG.
Diffstat (limited to 'sys/arm/amlogic')
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_machdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm/amlogic/aml8726/aml8726_machdep.c b/sys/arm/amlogic/aml8726/aml8726_machdep.c
index e1cd1b9..1ad25b4 100644
--- a/sys/arm/amlogic/aml8726/aml8726_machdep.c
+++ b/sys/arm/amlogic/aml8726/aml8726_machdep.c
@@ -184,6 +184,7 @@ struct fdt_fixup_entry fdt_fixup_table[] = {
{ NULL, NULL }
};
+#ifndef ARM_INTRNG
#ifndef DEV_GIC
static int
fdt_pic_decode_ic(phandle_t node, pcell_t *intr, int *interrupt, int *trig,
@@ -212,3 +213,4 @@ fdt_pic_decode_t fdt_pic_table[] = {
#endif
NULL
};
+#endif /* ARM_INTRNG */
OpenPOWER on IntegriCloud