diff options
Diffstat (limited to 'drivers/dahdi/wctdm24xxp')
-rw-r--r-- | drivers/dahdi/wctdm24xxp/xhfc.c | 5 | ||||
-rw-r--r-- | drivers/dahdi/wctdm24xxp/xhfc.h | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/drivers/dahdi/wctdm24xxp/xhfc.c b/drivers/dahdi/wctdm24xxp/xhfc.c index fa63248..730d2e0 100644 --- a/drivers/dahdi/wctdm24xxp/xhfc.c +++ b/drivers/dahdi/wctdm24xxp/xhfc.c @@ -2175,7 +2175,8 @@ static int b400m_set_ntte(struct b400m_span *bspan, int te_mode, int term_on) } /* spanconfig for us means ...? */ -int b400m_spanconfig(struct dahdi_span *span, struct dahdi_lineconfig *lc) +int b400m_spanconfig(struct file *file, struct dahdi_span *span, + struct dahdi_lineconfig *lc) { struct b400m_span *bspan; struct b400m *b4; @@ -2250,7 +2251,7 @@ int b400m_spanconfig(struct dahdi_span *span, struct dahdi_lineconfig *lc) * The solution to that is to simply increment the span's "restart" flag, and * the driver's workqueue will do the dirty work on our behalf. */ -int b400m_chanconfig(struct dahdi_chan *chan, int sigtype) +int b400m_chanconfig(struct file *file, struct dahdi_chan *chan, int sigtype) { int alreadyrunning; struct b400m_span *bspan = bspan_from_dspan(chan->span); diff --git a/drivers/dahdi/wctdm24xxp/xhfc.h b/drivers/dahdi/wctdm24xxp/xhfc.h index e058af6..825fa53 100644 --- a/drivers/dahdi/wctdm24xxp/xhfc.h +++ b/drivers/dahdi/wctdm24xxp/xhfc.h @@ -38,9 +38,10 @@ int wctdm_init_b400m(struct wctdm *wc, int card); int wctdm_bri_checkisr(struct wctdm *wc, int card, int offset); void wctdm_unload_b400m(struct wctdm *wc, int card); void wctdm_hdlc_hard_xmit(struct dahdi_chan *chan); -int b400m_spanconfig(struct dahdi_span *span, struct dahdi_lineconfig *lc); +int b400m_spanconfig(struct file *file, struct dahdi_span *span, + struct dahdi_lineconfig *lc); int b400m_dchan(struct dahdi_span *span); -int b400m_chanconfig(struct dahdi_chan *chan, int sigtype); +int b400m_chanconfig(struct file *file, struct dahdi_chan *chan, int sigtype); void b400m_post_init(struct b400m *b4); void b400m_set_dahdi_span(struct b400m *b4, int spanno, struct wctdm_span *wspan); |