summaryrefslogtreecommitdiffstats
path: root/sys/dev/sx
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-07-15 20:47:41 +0000
committerphk <phk@FreeBSD.org>2004-07-15 20:47:41 +0000
commitf00200d8a459bcf01e832c89518247e88ce28bf0 (patch)
treecb8932d8c884d3a6cc8f7e0616a4bdfa7fe0e5ee /sys/dev/sx
parent2f3742942cca7902c160ba9f75eae9a92e905e0f (diff)
downloadFreeBSD-src-f00200d8a459bcf01e832c89518247e88ce28bf0.zip
FreeBSD-src-f00200d8a459bcf01e832c89518247e88ce28bf0.tar.gz
Preparation commit for the tty cleanups that will follow in the near
future: rename ttyopen() -> tty_open() and ttyclose() -> tty_close(). We need the ttyopen() and ttyclose() for the new generic cdevsw functions for tty devices in order to have consistent naming.
Diffstat (limited to 'sys/dev/sx')
-rw-r--r--sys/dev/sx/sx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sx/sx.c b/sys/dev/sx/sx.c
index 5611016..4995292 100644
--- a/sys/dev/sx/sx.c
+++ b/sys/dev/sx/sx.c
@@ -548,7 +548,7 @@ sxclose(
/* ok. we are now still on the right track.. nuke the hardware */
sxhardclose(pp);
- ttyclose(tp);
+ tty_close(tp);
pp->sp_state &= ~SX_SS_OPEN;
out:
OpenPOWER on IntegriCloud