summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/gpib.c
diff options
context:
space:
mode:
authorscrappy <scrappy@FreeBSD.org>1996-03-28 14:29:52 +0000
committerscrappy <scrappy@FreeBSD.org>1996-03-28 14:29:52 +0000
commit415585985cb93ec4bd441c45c7bbd43c2529256d (patch)
treea799d7ab93b91102069e46ed96392e309b7b469f /sys/i386/isa/gpib.c
parentf55298f39fa39052b4a4bb6f1f3a18aa12d6b771 (diff)
downloadFreeBSD-src-415585985cb93ec4bd441c45c7bbd43c2529256d.zip
FreeBSD-src-415585985cb93ec4bd441c45c7bbd43c2529256d.tar.gz
Switched from using devfs_add_sw() to using devfs_add_swf()
Reviewed by: julian@freebsd.org
Diffstat (limited to 'sys/i386/isa/gpib.c')
-rw-r--r--sys/i386/isa/gpib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/gpib.c b/sys/i386/isa/gpib.c
index 2b4f1ac..39bc76e 100644
--- a/sys/i386/isa/gpib.c
+++ b/sys/i386/isa/gpib.c
@@ -145,8 +145,8 @@ gpattach(isdp)
sc->sc_flags |=ATTACHED;
#ifdef DEVFS
- sc->devfs_token = devfs_add_devsw( "/", "gp", &gp_cdevsw, 0,
- DV_CHR, 0, 0, 0600);
+ sc->devfs_token =
+ devfs_add_devswf(&gp_cdevsw, 0, DV_CHR, 0, 0, 0600, "gp");
#endif
return (1);
}
OpenPOWER on IntegriCloud