Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/include Allow <arm/mainbus/mainbus.h> to sup...



details:   https://anonhg.NetBSD.org/src/rev/a34eef418983
branches:  trunk
changeset: 781411:a34eef418983
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Sep 05 00:10:11 2012 +0000

description:
Allow <arm/mainbus/mainbus.h> to supply mainbus_attach_args.

diffstat:

 sys/arch/evbarm/include/autoconf.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 04247f699de4 -r a34eef418983 sys/arch/evbarm/include/autoconf.h
--- a/sys/arch/evbarm/include/autoconf.h        Wed Sep 05 00:09:35 2012 +0000
+++ b/sys/arch/evbarm/include/autoconf.h        Wed Sep 05 00:10:11 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.h,v 1.5 2008/04/28 20:23:16 martin Exp $      */
+/*     $NetBSD: autoconf.h,v 1.6 2012/09/05 00:10:11 matt Exp $        */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,9 +32,11 @@
 #ifndef _EVBARM_AUTOCONF_H_
 #define        _EVBARM_AUTOCONF_H_
 
+#ifndef _ARM_MAINBUS_MAINBUS_H_
 struct mainbus_attach_args {
        const char *ma_name;
 };
+#endif
 
 struct device;
 extern void (*evbarm_device_register)(struct device *, void *);



Home | Main Index | Thread Index | Old Index