diff options
| author | Andrew Turner <andrew@FreeBSD.org> | 2016-02-16 15:18:12 +0000 |
|---|---|---|
| committer | Andrew Turner <andrew@FreeBSD.org> | 2016-02-16 15:18:12 +0000 |
| commit | 45fd18628594ac9dec327bca7b9142fbd374d309 (patch) | |
| tree | ef2970757da3567fedb2a64ae083c1be0e25f35d /sys/dev/uart | |
| parent | 3884d6f8bd7e13a2b152fedc2d0d4f6de5ad17b8 (diff) | |
Notes
Diffstat (limited to 'sys/dev/uart')
| -rw-r--r-- | sys/dev/uart/uart_cpu_fdt.c | 2 | ||||
| -rw-r--r-- | sys/dev/uart/uart_cpu_powerpc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/uart/uart_cpu_fdt.c b/sys/dev/uart/uart_cpu_fdt.c index 1a4af9da8008..6eb40f0d49da 100644 --- a/sys/dev/uart/uart_cpu_fdt.c +++ b/sys/dev/uart/uart_cpu_fdt.c @@ -212,5 +212,5 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di) di->stopbits = 1; di->parity = UART_PARITY_NONE; - return (OF_decode_addr(node, 0, &di->bas.bst, &di->bas.bsh)); + return (OF_decode_addr(node, 0, &di->bas.bst, &di->bas.bsh, NULL)); } diff --git a/sys/dev/uart/uart_cpu_powerpc.c b/sys/dev/uart/uart_cpu_powerpc.c index e41ceaea82ab..8d9840577eb9 100644 --- a/sys/dev/uart/uart_cpu_powerpc.c +++ b/sys/dev/uart/uart_cpu_powerpc.c @@ -180,7 +180,7 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di) if (class == NULL) return (ENXIO); - error = OF_decode_addr(input, 0, &di->bas.bst, &di->bas.bsh); + error = OF_decode_addr(input, 0, &di->bas.bst, &di->bas.bsh, NULL); if (error) return (error); |
