diff options
| author | thorpej <thorpej@NetBSD.org> | 2002-10-02 15:29:35 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2002-10-02 15:29:35 +0000 |
| commit | 8043c2cbd9980d6e0a4cc3d2504819aefd07ac2e (patch) | |
| tree | ed80dbda26a141307b1e214d45d98c8a19873427 /sys/dev | |
| parent | 2746d79357bd23d2a65a312d2483b6d29528c137 (diff) | |
Use CFDRIVER_DECL(). PR #18500.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ir/irframe.c | 6 |
1 files changed, 2 insertions, 4 deletions
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), |
