mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-04 18:19:28 +09:00
staging: ced1401: rename StartSelfTest()
rename camel case function StartSelfTest() to ced_start_self_test() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
21d46fc4ed
commit
2b7e29e592
@@ -951,12 +951,12 @@ int ced_state_of_1401(DEVICE_EXTENSION *pdx)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
** StartSelfTest
|
||||
** ced_start_self_test
|
||||
**
|
||||
** Initiates a self-test cycle. The assumption is that we have no interrupts
|
||||
** active, so we should make sure that this is the case.
|
||||
*****************************************************************************/
|
||||
int StartSelfTest(DEVICE_EXTENSION *pdx)
|
||||
int ced_start_self_test(DEVICE_EXTENSION *pdx)
|
||||
{
|
||||
int nGot;
|
||||
mutex_lock(&pdx->io_mutex);
|
||||
|
||||
@@ -1282,7 +1282,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg)
|
||||
return U14ERR_NOERROR;
|
||||
|
||||
case _IOC_NR(IOCTL_CED_STARTSELFTEST):
|
||||
return StartSelfTest(pdx);
|
||||
return ced_start_self_test(pdx);
|
||||
|
||||
case _IOC_NR(IOCTL_CED_CHECKSELFTEST):
|
||||
return CheckSelfTest(pdx, (TGET_SELFTEST __user *) ulArg);
|
||||
|
||||
@@ -225,7 +225,7 @@ extern int ced_get_out_buf_space(DEVICE_EXTENSION *pdx);
|
||||
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 StartSelfTest(DEVICE_EXTENSION *pdx);
|
||||
extern int ced_start_self_test(DEVICE_EXTENSION *pdx);
|
||||
extern int CheckSelfTest(DEVICE_EXTENSION *pdx, TGET_SELFTEST __user *pGST);
|
||||
extern int TypeOf1401(DEVICE_EXTENSION *pdx);
|
||||
extern int TransferFlags(DEVICE_EXTENSION *pdx);
|
||||
|
||||
Reference in New Issue
Block a user