diff options
Diffstat (limited to 'drivers/dahdi')
-rw-r--r-- | drivers/dahdi/xpp/card_bri.c | 2 | ||||
-rw-r--r-- | drivers/dahdi/xpp/xbus-pcm.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dahdi/xpp/card_bri.c b/drivers/dahdi/xpp/card_bri.c index b7beb84..1f0bf6f 100644 --- a/drivers/dahdi/xpp/card_bri.c +++ b/drivers/dahdi/xpp/card_bri.c @@ -748,7 +748,7 @@ static int BRI_card_dahdi_postregistration(xpd_t *xpd, bool on) return(0); } -static int BRI_card_hooksig(xbus_t *xbus, xpd_t *xpd, int pos, dahdi_txsig_t txsig) +static int BRI_card_hooksig(xbus_t *xbus, xpd_t *xpd, int pos, enum dahdi_txsig txsig) { LINE_DBG(SIGNAL, xpd, pos, "%s\n", txsig2str(txsig)); return 0; diff --git a/drivers/dahdi/xpp/xbus-pcm.c b/drivers/dahdi/xpp/xbus-pcm.c index 09ebc13..eabd94e 100644 --- a/drivers/dahdi/xpp/xbus-pcm.c +++ b/drivers/dahdi/xpp/xbus-pcm.c @@ -677,7 +677,7 @@ int (*rbsbits)(struct dahdi_chan *chan, int bits); generate ring, etc directly) then you can just specify a sethook function, and we'll call you with appropriate hook states to set. Still set the DAHDI_FLAG_RBS in this case as well */ -int (*hooksig)(struct dahdi_chan *chan, dahdi_txsig_t hookstate); +int (*hooksig)(struct dahdi_chan *chan, enum dahdi_txsig hookstate); /* Option 3: If you can't use sig bits, you can write a function which handles the individual hook states */ |