diff options
Diffstat (limited to 'drivers/dahdi/wcte11xp.c')
-rw-r--r-- | drivers/dahdi/wcte11xp.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/drivers/dahdi/wcte11xp.c b/drivers/dahdi/wcte11xp.c index a0dbc79..c8067c7 100644 --- a/drivers/dahdi/wcte11xp.c +++ b/drivers/dahdi/wcte11xp.c @@ -878,7 +878,7 @@ static void t1xxp_framer_start(struct t1 *wc, struct dahdi_span *span) } -static int t1xxp_startup(struct dahdi_span *span) +static int t1xxp_startup(struct file *file, struct dahdi_span *span) { struct t1 *wc = t1_from_span(span); @@ -920,7 +920,8 @@ static int t1xxp_shutdown(struct dahdi_span *span) } -static int t1xxp_chanconfig(struct dahdi_chan *chan, int sigtype) +static int +t1xxp_chanconfig(struct file *file, struct dahdi_chan *chan, int sigtype) { struct t1 *wc = chan->pvt; unsigned long flags; @@ -935,7 +936,9 @@ static int t1xxp_chanconfig(struct dahdi_chan *chan, int sigtype) return 0; } -static int t1xxp_spanconfig(struct dahdi_span *span, struct dahdi_lineconfig *lc) +static int +t1xxp_spanconfig(struct file *file, struct dahdi_span *span, + struct dahdi_lineconfig *lc) { struct t1 *wc = t1_from_span(span); @@ -943,7 +946,7 @@ static int t1xxp_spanconfig(struct dahdi_span *span, struct dahdi_lineconfig *lc wc->sync = (lc->sync) ? 1 : 0; /* If already running, apply changes immediately */ if (span->flags & DAHDI_FLAG_RUNNING) - return t1xxp_startup(span); + return t1xxp_startup(file, span); return 0; } |