aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ofw
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2018-01-13 02:56:09 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2018-01-13 02:56:09 +0000
commited03d62a4c84ea430ae19e8993c7b2f5182af51b (patch)
tree84bf110c7582c585c3fb6d1ed41e5a7f2a75eec9 /sys/dev/ofw
parente9f96ff45756c0dc552b49f44055da2384b591a2 (diff)
Notes
Diffstat (limited to 'sys/dev/ofw')
-rw-r--r--sys/dev/ofw/ofw_fdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ofw/ofw_fdt.c b/sys/dev/ofw/ofw_fdt.c
index f51581bf3cab..c471c4624f63 100644
--- a/sys/dev/ofw/ofw_fdt.c
+++ b/sys/dev/ofw/ofw_fdt.c
@@ -430,7 +430,7 @@ ofw_fdt_package_to_path(ofw_t ofw, phandle_t package, char *buf, size_t len)
return (-1);
}
-#if defined(FDT_MARVELL) || defined(__powerpc__)
+#if defined(FDT_MARVELL)
static int
ofw_fdt_fixup(ofw_t ofw)
{
@@ -477,7 +477,7 @@ ofw_fdt_fixup(ofw_t ofw)
static int
ofw_fdt_interpret(ofw_t ofw, const char *cmd, int nret, cell_t *retvals)
{
-#if defined(FDT_MARVELL) || defined(__powerpc__)
+#if defined(FDT_MARVELL)
int rv;
/*