Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Bring the bus_space_is_equal() declaration out of th...



details:   https://anonhg.NetBSD.org/src/rev/122783f8d4ef
branches:  trunk
changeset: 767002:122783f8d4ef
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Wed Jul 06 20:24:21 2011 +0000

description:
Bring the bus_space_is_equal() declaration out of the #ifdef
__HAVE_NEW_STYLE_BUS_H, since we need it either way.

diffstat:

 sys/sys/bus.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r e3b33b270cc8 -r 122783f8d4ef sys/sys/bus.h
--- a/sys/sys/bus.h     Wed Jul 06 19:53:24 2011 +0000
+++ b/sys/sys/bus.h     Wed Jul 06 20:24:21 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus.h,v 1.4 2011/07/06 18:11:45 dyoung Exp $   */
+/*     $NetBSD: bus.h,v 1.5 2011/07/06 20:24:21 dyoung Exp $   */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -121,7 +121,6 @@
 
 bool   bus_space_handle_is_equal(bus_space_tag_t, bus_space_handle_t,
     bus_space_handle_t);
-bool   bus_space_is_equal(bus_space_tag_t, bus_space_tag_t);
 int    bus_space_tag_create(bus_space_tag_t, uint64_t,
                             const struct bus_space_overrides *, void *,
                             bus_space_tag_t *);
@@ -166,4 +165,6 @@
 #include <machine/bus.h>
 #endif
 
+bool   bus_space_is_equal(bus_space_tag_t, bus_space_tag_t);
+
 #endif /* _SYS_BUS_H_ */



Home | Main Index | Thread Index | Old Index