]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: ced1401: rename StateOf1401()
authorLuca Ellero <luca.ellero@brickedbrain.com>
Mon, 30 Jun 2014 10:00:30 +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 StateOf1401() to ced_state_of_1401()

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 f05cef5c6204fc7df7f867e4e581deb9f487b683..cd16bd5548a91c9ea6898cd9f9efc91a8729e96e 100644 (file)
@@ -932,11 +932,11 @@ int ced_kill_io(DEVICE_EXTENSION *pdx)
 }
 
 /****************************************************************************
-** StateOf1401
+** ced_state_of_1401
 **
 ** Puts the current state of the 1401 in the Irp return buffer.
 *****************************************************************************/
-int StateOf1401(DEVICE_EXTENSION *pdx)
+int ced_state_of_1401(DEVICE_EXTENSION *pdx)
 {
        int iReturn;
        mutex_lock(&pdx->io_mutex);
index b83f8e11791ad6156bd162949eae687ba8ca4212..ede5e6afaafd89e2e74eec16e8ac2fad3a6e5951 100644 (file)
@@ -1275,7 +1275,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg)
                return ced_kill_io(pdx);
 
        case _IOC_NR(IOCTL_CED_STATEOF1401):
-               return StateOf1401(pdx);
+               return ced_state_of_1401(pdx);
 
        case _IOC_NR(IOCTL_CED_GRAB1401):
        case _IOC_NR(IOCTL_CED_FREE1401):
index d75a81303d827a546a1b5366ef336f7c7bba8108..c15302d8234b9833147b3a2895a08f57fc78ff06 100644 (file)
@@ -224,7 +224,7 @@ extern int ced_line_count(DEVICE_EXTENSION *pdx);
 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 StateOf1401(DEVICE_EXTENSION *pdx);
+extern int ced_state_of_1401(DEVICE_EXTENSION *pdx);
 extern int StartSelfTest(DEVICE_EXTENSION *pdx);
 extern int CheckSelfTest(DEVICE_EXTENSION *pdx, TGET_SELFTEST __user *pGST);
 extern int TypeOf1401(DEVICE_EXTENSION *pdx);