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

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 3ccad9dc536ff9b05468def9e73e5a5b53737e4c..7317ba5231fe8d343285775041b85acb94097505 100644 (file)
@@ -1218,11 +1218,11 @@ int ced_dbg_ramp_data(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB)
 }
 
 /****************************************************************************
-** DbgRampAddr
+** ced_dbg_ramp_addr
 **
 ** Execute the diagnostic ramp address operation
 ****************************************************************************/
-int DbgRampAddr(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB)
+int ced_dbg_ramp_addr(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB)
 {
        int iReturn;
        TDBGBLOCK db;
index 6286c822e1877dce1fe4eb4d4cda527712c8e15f..a3422bee8b605ec2794c06b2eefca060ac3a3c20 100644 (file)
@@ -1303,7 +1303,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg)
                return ced_dbg_ramp_data(pdx, (TDBGBLOCK __user *) ulArg);
 
        case _IOC_NR(IOCTL_CED_DBGRAMPADDR):
-               return DbgRampAddr(pdx, (TDBGBLOCK __user *) ulArg);
+               return ced_dbg_ramp_addr(pdx, (TDBGBLOCK __user *) ulArg);
 
        case _IOC_NR(IOCTL_CED_DBGGETDATA):
                return DbgGetData(pdx, (TDBGBLOCK __user *) ulArg);
index 09b806ecf74c4f58ad2a1650f52a6383bb30a690..b9164930b36d62020b022015648a12f606959c69 100644 (file)
@@ -232,7 +232,7 @@ extern int ced_transfer_flags(DEVICE_EXTENSION *pdx);
 extern int ced_dbg_peek(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);
 extern int ced_dbg_poke(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);
 extern int ced_dbg_ramp_data(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);
-extern int DbgRampAddr(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);
+extern int ced_dbg_ramp_addr(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);
 extern int DbgGetData(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);
 extern int DbgStopLoop(DEVICE_EXTENSION *pdx);
 extern int SetCircular(DEVICE_EXTENSION *pdx, struct transfer_area_desc __user *pTD);