summaryrefslogtreecommitdiffstats
path: root/sys/dev/uart/uart_bus_fdt.c
diff options
context:
space:
mode:
authorraj <raj@FreeBSD.org>2010-07-19 18:47:18 +0000
committerraj <raj@FreeBSD.org>2010-07-19 18:47:18 +0000
commit287c5fdf9552c6c6ab2c9e76280f559d28d7ec4f (patch)
treef75046d2b32839c37792cbd59eddbadf083e82ac /sys/dev/uart/uart_bus_fdt.c
parent1dddc6de1e8ed3c2ac6a7521a460ef6e31b30ea8 (diff)
downloadFreeBSD-src-287c5fdf9552c6c6ab2c9e76280f559d28d7ec4f.zip
FreeBSD-src-287c5fdf9552c6c6ab2c9e76280f559d28d7ec4f.tar.gz
Eliminate FDT_IMMR_VA define.
This removes platform dependencies from <machine>/fdt.h for the benfit of portability.
Diffstat (limited to 'sys/dev/uart/uart_bus_fdt.c')
-rw-r--r--sys/dev/uart/uart_bus_fdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/uart/uart_bus_fdt.c b/sys/dev/uart/uart_bus_fdt.c
index b958c10..27809ce 100644
--- a/sys/dev/uart/uart_bus_fdt.c
+++ b/sys/dev/uart/uart_bus_fdt.c
@@ -188,7 +188,7 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di)
err = fdt_regsize(node, &start, &size);
if (err)
return (ENXIO);
- start += FDT_IMMR_VA;
+ start += fdt_immr_va;
uart_bus_space_mem = fdtbus_bs_tag;
uart_bus_space_io = NULL;
OpenPOWER on IntegriCloud