Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netsmb Ooops - previous change was over-zealous. We sti...
details: https://anonhg.NetBSD.org/src/rev/4d3510f74f7c
branches: trunk
changeset: 346520:4d3510f74f7c
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sun Jul 17 00:33:28 2016 +0000
description:
Ooops - previous change was over-zealous. We still need the cdevsw for
the built-in case. Restore it.
diffstat:
sys/netsmb/smb_dev.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r cb241b21a33f -r 4d3510f74f7c sys/netsmb/smb_dev.c
--- a/sys/netsmb/smb_dev.c Sun Jul 17 00:27:03 2016 +0000
+++ b/sys/netsmb/smb_dev.c Sun Jul 17 00:33:28 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: smb_dev.c,v 1.46 2016/07/17 00:27:03 pgoyette Exp $ */
+/* $NetBSD: smb_dev.c,v 1.47 2016/07/17 00:33:28 pgoyette Exp $ */
/*
* Copyright (c) 2000-2001 Boris Popov
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: smb_dev.c,v 1.46 2016/07/17 00:27:03 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: smb_dev.c,v 1.47 2016/07/17 00:33:28 pgoyette Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -86,7 +86,6 @@
dev_type_close(nsmb_dev_close);
dev_type_ioctl(nsmb_dev_ioctl);
-#ifdef _MODULE
const struct cdevsw nsmb_cdevsw = {
.d_open = nsmb_dev_open,
.d_close = nsmb_dev_close,
@@ -101,7 +100,7 @@
.d_discard = nodiscard,
.d_flag = D_OTHER,
};
-#endif
+
static bool nsmb_inited = false;
Home |
Main Index |
Thread Index |
Old Index