mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
f6a68e691f
commit
330078abd8
1 changed files with 1 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ static unsigned char *cpars[] =
|
|||
#define structTRcpyovl(x, y, l) memmove(y, x, l)
|
||||
|
||||
/*-------------------------------------------------------*/
|
||||
static unsigned command_2_index(unsigned c, unsigned sc)
|
||||
static unsigned command_2_index(u8 c, u8 sc)
|
||||
{
|
||||
if (c & 0x80)
|
||||
c = 0x9 + (c & 0x0f);
|
||||
|
|
|
|||
Loading…
Reference in a new issue