From: Luca Ellero Date: Mon, 30 Jun 2014 09:57:48 +0000 (+0200) Subject: staging: ced1401: rename ReadHuff() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2732a875ad32d39f3e0421d3b77ad88301911850;p=linux-beck.git staging: ced1401: rename ReadHuff() rename camel case function ReadHuff() to ced_read_huff() Signed-off-by: Luca Ellero Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ced1401/usb1401.c b/drivers/staging/ced1401/usb1401.c index 22e0c33aa91c..0eb96732d20c 100644 --- a/drivers/staging/ced1401/usb1401.c +++ b/drivers/staging/ced1401/usb1401.c @@ -887,7 +887,7 @@ static bool ced_read_word(unsigned short *pWord, char *pBuf, unsigned int *pdDon #endif /**************************************************************************** -** ReadHuff +** ced_read_huff ** ** Reads a coded number in and returns it, Code is: ** If data is in range 0..127 we receive 1 byte. If data in range 128-16383 @@ -896,7 +896,7 @@ static bool ced_read_word(unsigned short *pWord, char *pBuf, unsigned int *pdDon ** to indicate three byte total. ** *****************************************************************************/ -static bool ReadHuff(volatile unsigned int *pDWord, char *pBuf, +static bool ced_read_huff(volatile unsigned int *pDWord, char *pBuf, unsigned int *pdDone, unsigned int dGot) { unsigned char ucData; /* for each read to ced_read_char */ @@ -970,9 +970,9 @@ static bool ReadDMAInfo(volatile DMADESC *pDmaDesc, DEVICE_EXTENSION *pdx, case TM_EXTTO1401: { bResult = - ReadHuff(&(pDmaDesc->dwOffset), pBuf, + ced_read_huff(&(pDmaDesc->dwOffset), pBuf, &dDone, dwCount) - && ReadHuff(&(pDmaDesc->dwSize), pBuf, + && ced_read_huff(&(pDmaDesc->dwSize), pBuf, &dDone, dwCount); if (bResult) { dev_dbg(&pdx->interface->dev,