aboutsummaryrefslogtreecommitdiff
path: root/sys/arm
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2007-06-04 17:53:42 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2007-06-04 17:53:42 +0000
commite59febd74754da1758ec12de429c9c8ca0419eeb (patch)
tree573af9b742c2ac4f4feda2d024c20d7c4ed754c7 /sys/arm
parent22e1a9d50e330c8ebcf3d4d1a8be7f86c1ea476a (diff)
downloadsrc-e59febd74754da1758ec12de429c9c8ca0419eeb.tar.gz
src-e59febd74754da1758ec12de429c9c8ca0419eeb.zip
Revert to the previous version where the return value of uart_getenv()
is being ignored. It's optional and the lack of environment variable is not an error condition.
Notes
Notes: svn path=/head/; revision=170286
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/at91/uart_cpu_at91rm9200usart.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arm/at91/uart_cpu_at91rm9200usart.c b/sys/arm/at91/uart_cpu_at91rm9200usart.c
index 459badbd1408..45254af6b783 100644
--- a/sys/arm/at91/uart_cpu_at91rm9200usart.c
+++ b/sys/arm/at91/uart_cpu_at91rm9200usart.c
@@ -80,5 +80,6 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di)
uart_bus_space_io = &at91_bs_tag;
uart_bus_space_mem = NULL;
/* Check the environment for overrides */
- return (uart_getenv(devtype, di, class));
+ uart_getenv(devtype, di, class);
+ return (0);
}