]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: ced1401: rename StageChunk()
authorLuca Ellero <luca.ellero@brickedbrain.com>
Mon, 30 Jun 2014 09:57:44 +0000 (11:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Jul 2014 22:58:11 +0000 (15:58 -0700)
rename camel case function StageChunk() to ced_stage_chunk()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ced1401/usb1401.c

index 8897dddbaa4fca17094749ba09b4241e41c02e66..8aad4a326c0a3a1ab1fae1c840f7804a48502d19 100644 (file)
@@ -492,7 +492,7 @@ static void ced_copy_user_space(DEVICE_EXTENSION *pdx, int n)
 }
 
 /*  Forward declarations for stuff used circularly */
-static int StageChunk(DEVICE_EXTENSION *pdx);
+static int ced_stage_chunk(DEVICE_EXTENSION *pdx);
 /***************************************************************************
 ** ReadWrite_Complete
 **
@@ -670,7 +670,7 @@ static void staged_callback(struct urb *pUrb)
                }
 
        } else                  /*  Here for more to do */
-               StageChunk(pdx);        /*  fire off the next bit */
+               ced_stage_chunk(pdx);   /*  fire off the next bit */
 
        /*  While we hold the stagedLock, see if we should reallow character input ints */
        /*  Don't allow if cancelled, or if a new block has started or if there is a waiting block. */
@@ -689,14 +689,14 @@ static void staged_callback(struct urb *pUrb)
 }
 
 /****************************************************************************
-** StageChunk
+** ced_stage_chunk
 **
 ** Generates the next chunk of data making up a staged transfer.
 **
 ** The calling code must have acquired the staging spinlock before calling
 **  this function, and is responsible for releasing it. We are at callback level.
 ****************************************************************************/
-static int StageChunk(DEVICE_EXTENSION *pdx)
+static int ced_stage_chunk(DEVICE_EXTENSION *pdx)
 {
        int iReturn = U14ERR_NOERROR;
        unsigned int ChunkSize;
@@ -838,7 +838,7 @@ int ReadWriteMem(DEVICE_EXTENSION *pdx, bool Read, unsigned short wIdent,
        pdx->bXFerWaiting = false;      /*  Clearly not a transfer waiting now */
 
 /*     KeClearEvent(&pdx->StagingDoneEvent);           // Clear the transfer done event */
-       StageChunk(pdx);        /*  fire off the first chunk */
+       ced_stage_chunk(pdx);   /*  fire off the first chunk */
 
        return U14ERR_NOERROR;
 }