staging: ced1401: rename DbgPeek()
authorLuca Ellero <luca.ellero@brickedbrain.com>
Mon, 30 Jun 2014 10:00:36 +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 DbgPeek() to ced_dbg_peek()

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 7031dce63281efc887aa911977fdcdbf1ec32238..e97bd7574b836457765ee717cd86c9c8cb5edcaa 100644 (file)
@@ -1128,11 +1128,11 @@ static int ced_dbg_cmd(DEVICE_EXTENSION *pdx, unsigned char cmd,
 }
 
 /****************************************************************************
-** DbgPeek
+** ced_dbg_peek
 **
 ** Execute the diagnostic peek operation. Uses address, width and repeats.
 ****************************************************************************/
-int DbgPeek(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB)
+int ced_dbg_peek(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB)
 {
        int iReturn;
        TDBGBLOCK db;
index 1110eef29a99ddccc7956866edf06a7ed964135a..95c89035ef5abadd5ab0d5ef49cbd525c51c4e78 100644 (file)
@@ -1294,7 +1294,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg)
                return ced_transfer_flags(pdx);
 
        case _IOC_NR(IOCTL_CED_DBGPEEK):
-               return DbgPeek(pdx, (TDBGBLOCK __user *) ulArg);
+               return ced_dbg_peek(pdx, (TDBGBLOCK __user *) ulArg);
 
        case _IOC_NR(IOCTL_CED_DBGPOKE):
                return DbgPoke(pdx, (TDBGBLOCK __user *) ulArg);
index 80e94986cf54d3febd8d231509af8265ce2dfe3c..06540afcb2d05e0734c77cc46d1df228eccfba8a 100644 (file)
@@ -229,7 +229,7 @@ extern int ced_start_self_test(DEVICE_EXTENSION *pdx);
 extern int ced_check_self_test(DEVICE_EXTENSION *pdx, TGET_SELFTEST __user *pGST);
 extern int ced_type_of_1401(DEVICE_EXTENSION *pdx);
 extern int ced_transfer_flags(DEVICE_EXTENSION *pdx);
-extern int DbgPeek(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);
+extern int ced_dbg_peek(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);
 extern int DbgPoke(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);
 extern int DbgRampData(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);
 extern int DbgRampAddr(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);