Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpdev __HAVE_DEVICE_REGISTER_POSTCONFIG a...



details:   https://anonhg.NetBSD.org/src/rev/0ae7a1ee3efc
branches:  trunk
changeset: 763637:0ae7a1ee3efc
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Mon Mar 28 22:23:39 2011 +0000

description:
__HAVE_DEVICE_REGISTER_POSTCONFIG and __HAVE_DEVICE_REGISTER
are no more, so don't use them here.

diffstat:

 sys/rump/librump/rumpdev/rump_dev.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (39 lines):

diff -r ebd29fbbf05e -r 0ae7a1ee3efc sys/rump/librump/rumpdev/rump_dev.c
--- a/sys/rump/librump/rumpdev/rump_dev.c       Mon Mar 28 19:42:11 2011 +0000
+++ b/sys/rump/librump/rumpdev/rump_dev.c       Mon Mar 28 22:23:39 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump_dev.c,v 1.18 2010/03/08 10:24:37 pooka Exp $      */
+/*     $NetBSD: rump_dev.c,v 1.19 2011/03/28 22:23:39 dyoung Exp $     */
 
 /*
  * Copyright (c) 2009 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_dev.c,v 1.18 2010/03/08 10:24:37 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_dev.c,v 1.19 2011/03/28 22:23:39 dyoung Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -82,20 +82,16 @@
        panic("%s: unimplemented", __func__);
 }
 
-#ifdef __HAVE_DEVICE_REGISTER
 void
 device_register(struct device *dev, void *v)
 {
 
        /* nada */
 }
-#endif
 
-#ifdef __HAVE_DEVICE_REGISTER_POSTCONFIG
 void
 device_register_post_config(struct device *dev, void *v)
 {
 
        /* nada */
 }
-#endif



Home | Main Index | Thread Index | Old Index