staging: ced1401: rename StateOf1401()
rename camel case function StateOf1401() to ced_state_of_1401() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9ee52ef6ad
commit
21d46fc4ed
|
@ -932,11 +932,11 @@ int ced_kill_io(DEVICE_EXTENSION *pdx)
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
** StateOf1401
|
** ced_state_of_1401
|
||||||
**
|
**
|
||||||
** Puts the current state of the 1401 in the Irp return buffer.
|
** Puts the current state of the 1401 in the Irp return buffer.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
int StateOf1401(DEVICE_EXTENSION *pdx)
|
int ced_state_of_1401(DEVICE_EXTENSION *pdx)
|
||||||
{
|
{
|
||||||
int iReturn;
|
int iReturn;
|
||||||
mutex_lock(&pdx->io_mutex);
|
mutex_lock(&pdx->io_mutex);
|
||||||
|
|
|
@ -1275,7 +1275,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg)
|
||||||
return ced_kill_io(pdx);
|
return ced_kill_io(pdx);
|
||||||
|
|
||||||
case _IOC_NR(IOCTL_CED_STATEOF1401):
|
case _IOC_NR(IOCTL_CED_STATEOF1401):
|
||||||
return StateOf1401(pdx);
|
return ced_state_of_1401(pdx);
|
||||||
|
|
||||||
case _IOC_NR(IOCTL_CED_GRAB1401):
|
case _IOC_NR(IOCTL_CED_GRAB1401):
|
||||||
case _IOC_NR(IOCTL_CED_FREE1401):
|
case _IOC_NR(IOCTL_CED_FREE1401):
|
||||||
|
|
|
@ -224,7 +224,7 @@ extern int ced_line_count(DEVICE_EXTENSION *pdx);
|
||||||
extern int ced_get_out_buf_space(DEVICE_EXTENSION *pdx);
|
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_get_transfer(DEVICE_EXTENSION *pdx, TGET_TX_BLOCK __user *pGTB);
|
||||||
extern int ced_kill_io(DEVICE_EXTENSION *pdx);
|
extern int ced_kill_io(DEVICE_EXTENSION *pdx);
|
||||||
extern int StateOf1401(DEVICE_EXTENSION *pdx);
|
extern int ced_state_of_1401(DEVICE_EXTENSION *pdx);
|
||||||
extern int StartSelfTest(DEVICE_EXTENSION *pdx);
|
extern int StartSelfTest(DEVICE_EXTENSION *pdx);
|
||||||
extern int CheckSelfTest(DEVICE_EXTENSION *pdx, TGET_SELFTEST __user *pGST);
|
extern int CheckSelfTest(DEVICE_EXTENSION *pdx, TGET_SELFTEST __user *pGST);
|
||||||
extern int TypeOf1401(DEVICE_EXTENSION *pdx);
|
extern int TypeOf1401(DEVICE_EXTENSION *pdx);
|
||||||
|
|
Loading…
Reference in New Issue