From dc2b0d8b423d1f06562f56d51524844627473209 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 28 Apr 1996 11:06:21 +0000 Subject: cfattach/cfdriver split --- sys/arch/mvme68k/dev/clock.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'sys/arch/mvme68k/dev/clock.c') diff --git a/sys/arch/mvme68k/dev/clock.c b/sys/arch/mvme68k/dev/clock.c index 69cea3a74a2..01157b04684 100644 --- a/sys/arch/mvme68k/dev/clock.c +++ b/sys/arch/mvme68k/dev/clock.c @@ -1,4 +1,4 @@ -/* $Id: clock.c,v 1.2 1995/11/07 08:48:53 deraadt Exp $ */ +/* $OpenBSD: clock.c,v 1.3 1996/04/28 11:06:02 deraadt Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -119,9 +119,12 @@ struct clocksoftc { void clockattach __P((struct device *, struct device *, void *)); int clockmatch __P((struct device *, void *, void *)); -struct cfdriver clockcd = { - NULL, "clock", clockmatch, clockattach, - DV_DULL, sizeof(struct clocksoftc), 0 +struct cfattach clock_ca = { + sizeof(struct clocksoftc), clockmatch, clockattach +}; + +struct cfdriver clock_cd = { + NULL, "clock", DV_DULL, 0 }; int clockintr __P((void *)); -- cgit v1.2.3