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

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 3dfcbbdd464090971cbd75727113a0d06c61ed39..3ccad9dc536ff9b05468def9e73e5a5b53737e4c 100644 (file)
@@ -1185,12 +1185,12 @@ int ced_dbg_poke(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB)
 }
 
 /****************************************************************************
-** DbgRampData
+** ced_dbg_ramp_data
 **
 ** Execute the diagnostic ramp data operation. Parameters are in the CSBLOCK struct
 ** in order address, default, enable mask, size and repeats.
 ****************************************************************************/
-int DbgRampData(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB)
+int ced_dbg_ramp_data(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB)
 {
        int iReturn;
        TDBGBLOCK db;
index 538551a939873c85957826e1f128cbb0b6bb71cd..6286c822e1877dce1fe4eb4d4cda527712c8e15f 100644 (file)
@@ -1300,7 +1300,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg)
                return ced_dbg_poke(pdx, (TDBGBLOCK __user *) ulArg);
 
        case _IOC_NR(IOCTL_CED_DBGRAMPDATA):
-               return DbgRampData(pdx, (TDBGBLOCK __user *) ulArg);
+               return ced_dbg_ramp_data(pdx, (TDBGBLOCK __user *) ulArg);
 
        case _IOC_NR(IOCTL_CED_DBGRAMPADDR):
                return DbgRampAddr(pdx, (TDBGBLOCK __user *) ulArg);
index cf84e9d85bfa4fc760e497efe62bb947284d509d..09b806ecf74c4f58ad2a1650f52a6383bb30a690 100644 (file)
@@ -231,7 +231,7 @@ extern int ced_type_of_1401(DEVICE_EXTENSION *pdx);
 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 DbgRampData(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 DbgGetData(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);
 extern int DbgStopLoop(DEVICE_EXTENSION *pdx);