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

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 cd16bd5548a91c9ea6898cd9f9efc91a8729e96e..01ff639b133bcda281a019cbf0c8f90fe6ef8afd 100644 (file)
@@ -951,12 +951,12 @@ int ced_state_of_1401(DEVICE_EXTENSION *pdx)
 }
 
 /****************************************************************************
-** StartSelfTest
+** ced_start_self_test
 **
 ** Initiates a self-test cycle. The assumption is that we have no interrupts
 ** active, so we should make sure that this is the case.
 *****************************************************************************/
-int StartSelfTest(DEVICE_EXTENSION *pdx)
+int ced_start_self_test(DEVICE_EXTENSION *pdx)
 {
        int nGot;
        mutex_lock(&pdx->io_mutex);
index ede5e6afaafd89e2e74eec16e8ac2fad3a6e5951..292e8bf33de119979ced38c23e0c44504d02f726 100644 (file)
@@ -1282,7 +1282,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg)
                return U14ERR_NOERROR;
 
        case _IOC_NR(IOCTL_CED_STARTSELFTEST):
-               return StartSelfTest(pdx);
+               return ced_start_self_test(pdx);
 
        case _IOC_NR(IOCTL_CED_CHECKSELFTEST):
                return CheckSelfTest(pdx, (TGET_SELFTEST __user *) ulArg);
index c15302d8234b9833147b3a2895a08f57fc78ff06..73dc750c824d6480c8f5dfaf1c392dd4c60b5c47 100644 (file)
@@ -225,7 +225,7 @@ extern int ced_get_out_buf_space(DEVICE_EXTENSION *pdx);
 extern int ced_get_transfer(DEVICE_EXTENSION *pdx, TGET_TX_BLOCK __user *pGTB);
 extern int ced_kill_io(DEVICE_EXTENSION *pdx);
 extern int ced_state_of_1401(DEVICE_EXTENSION *pdx);
-extern int StartSelfTest(DEVICE_EXTENSION *pdx);
+extern int ced_start_self_test(DEVICE_EXTENSION *pdx);
 extern int CheckSelfTest(DEVICE_EXTENSION *pdx, TGET_SELFTEST __user *pGST);
 extern int TypeOf1401(DEVICE_EXTENSION *pdx);
 extern int TransferFlags(DEVICE_EXTENSION *pdx);