diff options
author | Tilman Schmidt <tilman@imap.cc> | 2014-12-10 07:41:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-10 15:06:10 -0500 |
commit | 330078abd823cf644444999e7812a8884fce7b8e (patch) | |
tree | 40e8019d044e0f81f15ed76ba25224c38d38fb48 /drivers/isdn | |
parent | f6a68e691fa2b0ee7081c9bd510ee84261e1476c (diff) |
isdn/capi: correct argument types of command_2_index
Utility function command_2_index is always called with arguments of
type u8. Adapt its declaration accordingly.
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/capi/capiutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/capi/capiutil.c b/drivers/isdn/capi/capiutil.c index 36c1b37cea0a..9846d82eb097 100644 --- a/drivers/isdn/capi/capiutil.c +++ b/drivers/isdn/capi/capiutil.c | |||
@@ -201,7 +201,7 @@ static unsigned char *cpars[] = | |||
201 | #define structTRcpyovl(x, y, l) memmove(y, x, l) | 201 | #define structTRcpyovl(x, y, l) memmove(y, x, l) |
202 | 202 | ||
203 | /*-------------------------------------------------------*/ | 203 | /*-------------------------------------------------------*/ |
204 | static unsigned command_2_index(unsigned c, unsigned sc) | 204 | static unsigned command_2_index(u8 c, u8 sc) |
205 | { | 205 | { |
206 | if (c & 0x80) | 206 | if (c & 0x80) |
207 | c = 0x9 + (c & 0x0f); | 207 | c = 0x9 + (c & 0x0f); |