Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ir Use CFDRIVER_DECL(). PR #18500.



details:   https://anonhg.NetBSD.org/src/rev/0b251661b61e
branches:  trunk
changeset: 537565:0b251661b61e
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Oct 02 15:29:35 2002 +0000

description:
Use CFDRIVER_DECL().  PR #18500.

diffstat:

 sys/dev/ir/irframe.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (20 lines):

diff -r dd2d3bf2cb25 -r 0b251661b61e sys/dev/ir/irframe.c
--- a/sys/dev/ir/irframe.c      Wed Oct 02 15:26:29 2002 +0000
+++ b/sys/dev/ir/irframe.c      Wed Oct 02 15:29:35 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: irframe.c,v 1.21 2002/10/02 02:15:32 thorpej Exp $     */
+/*     $NetBSD: irframe.c,v 1.22 2002/10/02 15:29:35 thorpej Exp $     */
 
 /*
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -84,9 +84,7 @@
 
 #if NIRFRAME == 0
 /* In case we just have tty attachment. */
-struct cfdriver irframe_cd = {
-       NULL, "irframe", DV_DULL
-};
+CFDRIVER_DECL(irframe, DV_DULL, NULL);
 #endif
 
 CFATTACH_DECL(irframe, sizeof(struct irframe_softc),



Home | Main Index | Thread Index | Old Index