staging: ced1401: rename GetOutBufSpace()
authorLuca Ellero <luca.ellero@brickedbrain.com>
Mon, 30 Jun 2014 09:58:07 +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 GetOutBufSpace() to ced_get_out_buf_space()

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 09a5b7375f8150c43e3051eea105ec6ead6a7046..93c5d6470911fce5f7e131185e8e0118912d0f47 100644 (file)
@@ -562,11 +562,11 @@ int ced_line_count(DEVICE_EXTENSION *pdx)
 }
 
 /****************************************************************************
-** GetOutBufSpace
+** ced_get_out_buf_space
 **
 ** Gets the space in the output buffer. Called from user code.
 *****************************************************************************/
-int GetOutBufSpace(DEVICE_EXTENSION *pdx)
+int ced_get_out_buf_space(DEVICE_EXTENSION *pdx)
 {
        int iReturn;
        mutex_lock(&pdx->io_mutex);     /*  Protect disconnect from new i/o */
index 4cf8b1346586e2fe4a28d43dcf65bd80f270a9d7..20b89812dac62bf7c9c7e49091c246111da91b5f 100644 (file)
@@ -1260,7 +1260,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg)
                return SetEvent(pdx, (struct transfer_event __user *) ulArg);
 
        case _IOC_NR(IOCTL_CED_GETOUTBUFSPACE):
-               return GetOutBufSpace(pdx);
+               return ced_get_out_buf_space(pdx);
 
        case _IOC_NR(IOCTL_CED_GETBASEADDRESS):
                return -1;
index 86c8233a2625e0f48ff048cfb169a3020df3c513..e9a87f50c6f48facbf8a94fe8288554767ed808d 100644 (file)
@@ -221,7 +221,7 @@ extern int UnsetTransfer(DEVICE_EXTENSION *pdx, int nArea);
 extern int SetEvent(DEVICE_EXTENSION *pdx, struct transfer_event __user *pTE);
 extern int ced_stat_1401(DEVICE_EXTENSION *pdx);
 extern int ced_line_count(DEVICE_EXTENSION *pdx);
-extern int GetOutBufSpace(DEVICE_EXTENSION *pdx);
+extern int ced_get_out_buf_space(DEVICE_EXTENSION *pdx);
 extern int GetTransfer(DEVICE_EXTENSION *pdx, TGET_TX_BLOCK __user *pGTB);
 extern int KillIO1401(DEVICE_EXTENSION *pdx);
 extern int BlkTransState(DEVICE_EXTENSION *pdx);