summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Ellero <luca.ellero@brickedbrain.com>2014-06-30 11:57:48 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-08 15:58:11 -0700
commit2732a875ad32d39f3e0421d3b77ad88301911850 (patch)
treef248234443127f3937f0aacd40809fee28cb622a
parent026a8210513fa8b6c6643fbe72df3ca667695aa5 (diff)
downloadlinux-2732a875ad32d39f3e0421d3b77ad88301911850.tar.bz2
staging: ced1401: rename ReadHuff()
rename camel case function ReadHuff() to ced_read_huff() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/ced1401/usb1401.c8
1 files changed, 4 insertions, 4 deletions
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,