staging: ced1401: rename GetCircBlock()
authorLuca Ellero <luca.ellero@brickedbrain.com>
Mon, 30 Jun 2014 10:00:43 +0000 (12:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Jul 2014 22:59:35 +0000 (15:59 -0700)
rename camel case function GetCircBlock() to ced_get_circ_block()

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

index 7b6ea79839b6351bbe38c62d763a75eb48fbb436..113d4c5de23b80629e045ea9e6805c2675078759 100644 (file)
@@ -1332,11 +1332,11 @@ int ced_set_circular(DEVICE_EXTENSION *pdx, struct transfer_area_desc __user *pT
 }
 
 /****************************************************************************
-** GetCircBlock
+** ced_get_circ_block
 **
 ** Return the next available block of circularly-transferred data.
 ****************************************************************************/
-int GetCircBlock(DEVICE_EXTENSION *pdx, TCIRCBLOCK __user *pCB)
+int ced_get_circ_block(DEVICE_EXTENSION *pdx, TCIRCBLOCK __user *pCB)
 {
        int iReturn = U14ERR_NOERROR;
        unsigned int nArea;
index ddaa06f4b632ed30510ec84f65009fc63395e100..554e8446261f8e3a0060ded15a7cee992e498707 100644 (file)
@@ -1319,7 +1319,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg)
                return ced_set_circular(pdx, (struct transfer_area_desc __user *) ulArg);
 
        case _IOC_NR(IOCTL_CED_GETCIRCBLOCK):
-               return GetCircBlock(pdx, (TCIRCBLOCK __user *) ulArg);
+               return ced_get_circ_block(pdx, (TCIRCBLOCK __user *) ulArg);
 
        case _IOC_NR(IOCTL_CED_FREECIRCBLOCK):
                return FreeCircBlock(pdx, (TCIRCBLOCK __user *) ulArg);
index 200c0dae9c5c2ca94cc45cb93e6fb0470f94e386..6fa4e598ec3f680d446ef771fa67e7a9894c32b3 100644 (file)
@@ -236,7 +236,7 @@ extern int ced_dbg_ramp_addr(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);
 extern int ced_dbg_get_data(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);
 extern int ced_dbg_stop_loop(DEVICE_EXTENSION *pdx);
 extern int ced_set_circular(DEVICE_EXTENSION *pdx, struct transfer_area_desc __user *pTD);
-extern int GetCircBlock(DEVICE_EXTENSION *pdx, TCIRCBLOCK __user *pCB);
+extern int ced_get_circ_block(DEVICE_EXTENSION *pdx, TCIRCBLOCK __user *pCB);
 extern int FreeCircBlock(DEVICE_EXTENSION *pdx, TCIRCBLOCK __user *pCB);
 extern int ced_wait_event(DEVICE_EXTENSION *pdx, int nArea, int msTimeOut);
 extern int ced_test_event(DEVICE_EXTENSION *pdx, int nArea);