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

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

index df35b6d4ca918bd90fef67cabe985e7b9a39e154..287b2553cd3aee44f1b7072630fe2dd8074b52ff 100644 (file)
@@ -655,12 +655,12 @@ int ced_clear_area(DEVICE_EXTENSION *pdx, int nArea)
 }
 
 /****************************************************************************
-** SetArea
+** ced_set_area
 **
 ** Sets up a transfer area - the functional part. Called by both
 ** SetTransfer and SetCircular.
 ****************************************************************************/
-static int SetArea(DEVICE_EXTENSION *pdx, int nArea, char __user *puBuf,
+static int ced_set_area(DEVICE_EXTENSION *pdx, int nArea, char __user *puBuf,
                   unsigned int dwLength, bool bCircular, bool bCircToHost)
 {
        /*  Start by working out the page aligned start of the area and the size */
@@ -751,7 +751,7 @@ int SetTransfer(DEVICE_EXTENSION *pdx, struct transfer_area_desc __user *pTD)
        /*  pointer. The pointer is always passed as a 64-bit object so that we don't have problems using */
        /*  a 32-bit program on a 64-bit system. unsigned long is 64-bits on a 64-bit system. */
        iReturn =
-           SetArea(pdx, td.wAreaNum,
+           ced_set_area(pdx, td.wAreaNum,
                    (char __user *)((unsigned long)td.lpvBuff), td.dwLength,
                    false, false);
        mutex_unlock(&pdx->io_mutex);
@@ -1336,7 +1336,7 @@ int SetCircular(DEVICE_EXTENSION *pdx, struct transfer_area_desc __user *pTD)
        /*  pointer. The pointer is always passed as a 64-bit object so that we don't have problems using */
        /*  a 32-bit program on a 64-bit system. unsigned long is 64-bits on a 64-bit system. */
        iReturn =
-           SetArea(pdx, td.wAreaNum,
+           ced_set_area(pdx, td.wAreaNum,
                    (char __user *)((unsigned long)td.lpvBuff), td.dwLength,
                    true, bToHost);
        mutex_unlock(&pdx->io_mutex);