in foo_softc example, actual struct device, not a pointer to one

This commit is contained in:
cgd 2000-05-31 19:39:21 +00:00
parent 370a47ecac
commit a6921e9cfe
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: disk.9,v 1.10 1999/03/16 00:40:47 garbled Exp $
.\" $NetBSD: disk.9,v 1.11 2000/05/31 19:39:21 cgd Exp $
.\"
.\" Copyright (c) 1995, 1996 Jason R. Thorpe.
.\" All rights reserved.
@ -180,7 +180,7 @@ device. In the case of disks, the softc should also contain one instance
of the disk stucture, eg:
.Bd -literal
struct foo_softc {
struct device *sc_dev; /* generic device information */
struct device sc_dev; /* generic device information */
struct disk sc_dk; /* generic disk information */
[ . . . more . . . ]
};