summaryrefslogtreecommitdiff
path: root/sys/dev/rp
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2009-05-29 06:41:23 +0000
committerEd Schouten <ed@FreeBSD.org>2009-05-29 06:41:23 +0000
commitc5e30cc02b9bee4c53457d1bc4184b256ce1a569 (patch)
tree8504d18b61b10ae1ba84f3c8d91f1f3572bcce6f /sys/dev/rp
parentb6151caa3af4be855af359bf4d2872c45cb2263a (diff)
Notes
Diffstat (limited to 'sys/dev/rp')
-rw-r--r--sys/dev/rp/rp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/rp/rp.c b/sys/dev/rp/rp.c
index 690e2218de1a..520ca80f9301 100644
--- a/sys/dev/rp/rp.c
+++ b/sys/dev/rp/rp.c
@@ -774,7 +774,7 @@ rp_attachcommon(CONTROLLER_T *ctlp, int num_aiops, int num_ports)
for(aiop=0; aiop < num_aiops; aiop++) {
num_chan = sGetAiopNumChan(ctlp, aiop);
for(chan=0; chan < num_chan; chan++, port++, rp++) {
- rp->rp_tty = tp = tty_alloc(&rp_tty_class, rp, NULL);
+ rp->rp_tty = tp = tty_alloc(&rp_tty_class, rp);
rp->rp_port = port;
rp->rp_ctlp = ctlp;
rp->rp_unit = unit;