From 8043c2cbd9980d6e0a4cc3d2504819aefd07ac2e Mon Sep 17 00:00:00 2001 From: thorpej Date: Wed, 2 Oct 2002 15:29:35 +0000 Subject: Use CFDRIVER_DECL(). PR #18500. --- sys/dev/ir/irframe.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/ir/irframe.c b/sys/dev/ir/irframe.c index fd2ce2d0de8..95eccb95137 100644 --- a/sys/dev/ir/irframe.c +++ b/sys/dev/ir/irframe.c @@ -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 @@ Static int irf_reset_params(struct irframe_softc *sc); #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), -- cgit