diff options
author | phk <phk@FreeBSD.org> | 2004-08-08 06:49:07 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-08-08 06:49:07 +0000 |
commit | 8a11f1b4a6e444c06beac9b61cd820cf6b82516f (patch) | |
tree | 93b8d93d433b81dc0f847a70e6344dafaeccf6d8 /sys/geom/geom_pc98.c | |
parent | cb84366718580d5c3c1cdea1706a0c06eea5d876 (diff) | |
download | FreeBSD-src-8a11f1b4a6e444c06beac9b61cd820cf6b82516f.zip FreeBSD-src-8a11f1b4a6e444c06beac9b61cd820cf6b82516f.tar.gz |
Use default method initialization on geoms.
Diffstat (limited to 'sys/geom/geom_pc98.c')
-rw-r--r-- | sys/geom/geom_pc98.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/geom_pc98.c b/sys/geom/geom_pc98.c index 2e0c212..07e131b 100644 --- a/sys/geom/geom_pc98.c +++ b/sys/geom/geom_pc98.c @@ -238,8 +238,6 @@ g_pc98_taste(struct g_class *mp, struct g_provider *pp, int flags) if (gp == NULL) return (NULL); g_topology_unlock(); - gp->dumpconf = g_pc98_dumpconf; - gp->ioctl = g_pc98_ioctl; do { if (gp->rank != 2 && flags == G_TF_NORMAL) break; @@ -284,6 +282,8 @@ g_pc98_taste(struct g_class *mp, struct g_provider *pp, int flags) static struct g_class g_pc98_class = { .name = PC98_CLASS_NAME, .taste = g_pc98_taste, + .dumpconf = g_pc98_dumpconf, + .ioctl = g_pc98_ioctl, }; DECLARE_GEOM_CLASS(g_pc98_class, g_pc98); |