Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/dev Fix #if 0'ed code.
details: https://anonhg.NetBSD.org/src/rev/7e7c77df9543
branches: trunk
changeset: 781972:7e7c77df9543
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Oct 10 21:54:13 2012 +0000
description:
Fix #if 0'ed code.
>From chuq
diffstat:
sys/arch/evbarm/dev/plcom.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7b2fdd358bbc -r 7e7c77df9543 sys/arch/evbarm/dev/plcom.c
--- a/sys/arch/evbarm/dev/plcom.c Wed Oct 10 21:53:09 2012 +0000
+++ b/sys/arch/evbarm/dev/plcom.c Wed Oct 10 21:54:13 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: plcom.c,v 1.42 2012/08/17 09:38:51 skrll Exp $ */
+/* $NetBSD: plcom.c,v 1.43 2012/10/10 21:54:13 skrll Exp $ */
/*-
* Copyright (c) 2001 ARM Ltd
@@ -94,7 +94,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: plcom.c,v 1.42 2012/08/17 09:38:51 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: plcom.c,v 1.43 2012/10/10 21:54:13 skrll Exp $");
#include "opt_plcom.h"
#include "opt_ddb.h"
@@ -2382,7 +2382,7 @@
/* Ought to do something like this, but we have no sc to
dereference. */
/* XXX device_unit() abuse */
- sc->sc_set_mcr(sc->sc_set_mcr_arg, device_unit(&sc->sc_dev),
+ sc->sc_set_mcr(sc->sc_set_mcr_arg, device_unit(sc->sc_dev),
PL01X_MCR_DTR | PL01X_MCR_RTS);
#endif
Home |
Main Index |
Thread Index |
Old Index