summaryrefslogtreecommitdiffstats
path: root/sys/arm/ti
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2016-01-22 12:51:12 +0000
committerandrew <andrew@FreeBSD.org>2016-01-22 12:51:12 +0000
commit359ecb5b966a37c8be8db79e9c9533775bb3f774 (patch)
tree66ee87b13fccc1e1eb2c559017f97e93fec541da /sys/arm/ti
parent98c9d96e34f0edf6fc1d493b1290f8d96d740dbd (diff)
downloadFreeBSD-src-359ecb5b966a37c8be8db79e9c9533775bb3f774.zip
FreeBSD-src-359ecb5b966a37c8be8db79e9c9533775bb3f774.tar.gz
Stop defining fdt_pic_table with ARM_INTRNG, it's unused.
Diffstat (limited to 'sys/arm/ti')
-rw-r--r--sys/arm/ti/ti_common.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arm/ti/ti_common.c b/sys/arm/ti/ti_common.c
index 8a4d7e7..aaf9a6a 100644
--- a/sys/arm/ti/ti_common.c
+++ b/sys/arm/ti/ti_common.c
@@ -53,6 +53,7 @@ struct fdt_fixup_entry fdt_fixup_table[] = {
{ NULL, NULL }
};
+#ifndef ARM_INTRNG
#ifdef SOC_TI_AM335X
static int
fdt_aintc_decode_ic(phandle_t node, pcell_t *intr, int *interrupt, int *trig,
@@ -72,7 +73,7 @@ fdt_aintc_decode_ic(phandle_t node, pcell_t *intr, int *interrupt, int *trig,
#endif
fdt_pic_decode_t fdt_pic_table[] = {
-#if defined(SOC_OMAP4) && !defined(ARM_INTRNG)
+#if defined(SOC_OMAP4)
&gic_decode_fdt,
#endif
#ifdef SOC_TI_AM335X
@@ -80,3 +81,4 @@ fdt_pic_decode_t fdt_pic_table[] = {
#endif
NULL
};
+#endif /* !ARM_INTRNG */
OpenPOWER on IntegriCloud