diff --git a/sys/arch/amiga/clockport/clockport.c b/sys/arch/amiga/clockport/clockport.c index aad251a5e36a..3abd08b93436 100644 --- a/sys/arch/amiga/clockport/clockport.c +++ b/sys/arch/amiga/clockport/clockport.c @@ -1,4 +1,4 @@ -/* $NetBSD: clockport.c,v 1.4 2012/10/27 17:17:26 chs Exp $ */ +/* $NetBSD: clockport.c,v 1.5 2012/10/30 01:17:24 rkujawa Exp $ */ /*- * Copyright (c) 2012 The NetBSD Foundation, Inc. @@ -62,6 +62,7 @@ clockport_attach(device_t parent, device_t self, void *aux) aprint_normal("\n"); sc = device_private(self); + sc->sc_dev = self; sc->cpb_aa = (struct clockportbus_attach_args *) aux; config_search_ia(clockport_submatch, self, "clockport", 0); diff --git a/sys/arch/amiga/clockport/clockportvar.h b/sys/arch/amiga/clockport/clockportvar.h index fe72844899a5..1cd967f75411 100644 --- a/sys/arch/amiga/clockport/clockportvar.h +++ b/sys/arch/amiga/clockport/clockportvar.h @@ -1,4 +1,4 @@ -/* $NetBSD: clockportvar.h,v 1.4 2012/07/09 19:32:26 rkujawa Exp $ */ +/* $NetBSD: clockportvar.h,v 1.5 2012/10/30 01:17:24 rkujawa Exp $ */ /*- * Copyright (c) 2012 The NetBSD Foundation, Inc. @@ -38,6 +38,7 @@ struct gencp_softc { }; struct clockportbus_softc { + device_t sc_dev; struct clockportbus_attach_args *cpb_aa; };