summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcte12xp/base.c
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-02-26 16:40:44 +0000
committerShaun Ruffell <sruffell@digium.com>2010-02-26 16:40:44 +0000
commit4244c7073ad8a83d58d0aa3c4a87f4f36153ff3a (patch)
tree93f77629a4d68039a21652ed2bee2ef8f1de7113 /drivers/dahdi/wcte12xp/base.c
parentda08f0a6db75cf34f1d88c856fc2f9e8e0377f1d (diff)
wctdm24xxp: Add support for Hx8 series cards.
The Hx8 series cards support BRI modules in addition to analog modules. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8123 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcte12xp/base.c')
-rw-r--r--drivers/dahdi/wcte12xp/base.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/dahdi/wcte12xp/base.c b/drivers/dahdi/wcte12xp/base.c
index 38efdfa..f88b042 100644
--- a/drivers/dahdi/wcte12xp/base.c
+++ b/drivers/dahdi/wcte12xp/base.c
@@ -193,7 +193,7 @@ static void cmd_dequeue(struct t1 *wc, unsigned char *writechunk, int eframe, in
}
-static inline void cmd_decipher(struct t1 *wc, unsigned char *readchunk)
+static inline void cmd_decipher(struct t1 *wc, const u8 *readchunk)
{
struct command *cmd = NULL;
unsigned long flags;
@@ -221,7 +221,7 @@ static inline void cmd_decipher(struct t1 *wc, unsigned char *readchunk)
spin_unlock_irqrestore(&wc->cmd_list_lock, flags);
}
-inline void cmd_decipher_vpmadt032(struct t1 *wc, unsigned char *readchunk)
+inline void cmd_decipher_vpmadt032(struct t1 *wc, const u8 *readchunk)
{
unsigned long flags;
struct vpmadt032 *vpm = wc->vpmadt032;
@@ -1660,7 +1660,7 @@ static void t1_do_counters(struct t1 *wc)
}
}
-static inline void t1_transmitprep(struct t1 *wc, unsigned char* writechunk)
+static inline void t1_transmitprep(struct t1 *wc, u8 *writechunk)
{
int x;
int y;
@@ -1697,7 +1697,7 @@ static inline void t1_transmitprep(struct t1 *wc, unsigned char* writechunk)
}
}
-static inline void t1_receiveprep(struct t1 *wc, unsigned char* readchunk)
+static inline void t1_receiveprep(struct t1 *wc, const u8* readchunk)
{
int x,chan;
unsigned char expected;