From: Luca Ellero Date: Mon, 30 Jun 2014 10:00:32 +0000 (+0200) Subject: staging: ced1401: rename CheckSelfTest() X-Git-Tag: v3.17-rc1~123^2~1199 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4eb66246f321677391d930092677559d8dc51efb;p=karo-tx-linux.git staging: ced1401: rename CheckSelfTest() rename camel case function CheckSelfTest() to ced_check_self_test() Signed-off-by: Luca Ellero Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ced1401/ced_ioc.c b/drivers/staging/ced1401/ced_ioc.c index 01ff639b133b..1cc75bf55643 100644 --- a/drivers/staging/ced1401/ced_ioc.c +++ b/drivers/staging/ced1401/ced_ioc.c @@ -981,11 +981,11 @@ int ced_start_self_test(DEVICE_EXTENSION *pdx) } /**************************************************************************** -** CheckSelfTest +** ced_check_self_test ** ** Check progress of a self-test cycle ****************************************************************************/ -int CheckSelfTest(DEVICE_EXTENSION *pdx, TGET_SELFTEST __user *pGST) +int ced_check_self_test(DEVICE_EXTENSION *pdx, TGET_SELFTEST __user *pGST) { unsigned int state, error; int iReturn; diff --git a/drivers/staging/ced1401/usb1401.c b/drivers/staging/ced1401/usb1401.c index 292e8bf33de1..3f82875f491e 100644 --- a/drivers/staging/ced1401/usb1401.c +++ b/drivers/staging/ced1401/usb1401.c @@ -1285,7 +1285,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg) return ced_start_self_test(pdx); case _IOC_NR(IOCTL_CED_CHECKSELFTEST): - return CheckSelfTest(pdx, (TGET_SELFTEST __user *) ulArg); + return ced_check_self_test(pdx, (TGET_SELFTEST __user *) ulArg); case _IOC_NR(IOCTL_CED_TYPEOF1401): return TypeOf1401(pdx); diff --git a/drivers/staging/ced1401/usb1401.h b/drivers/staging/ced1401/usb1401.h index 73dc750c824d..0c7ad233a7c5 100644 --- a/drivers/staging/ced1401/usb1401.h +++ b/drivers/staging/ced1401/usb1401.h @@ -226,7 +226,7 @@ extern int ced_get_transfer(DEVICE_EXTENSION *pdx, TGET_TX_BLOCK __user *pGTB); extern int ced_kill_io(DEVICE_EXTENSION *pdx); extern int ced_state_of_1401(DEVICE_EXTENSION *pdx); extern int ced_start_self_test(DEVICE_EXTENSION *pdx); -extern int CheckSelfTest(DEVICE_EXTENSION *pdx, TGET_SELFTEST __user *pGST); +extern int ced_check_self_test(DEVICE_EXTENSION *pdx, TGET_SELFTEST __user *pGST); extern int TypeOf1401(DEVICE_EXTENSION *pdx); extern int TransferFlags(DEVICE_EXTENSION *pdx); extern int DbgPeek(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);