Commit 21d46fc4 authored by Luca Ellero's avatar Luca Ellero Committed by Greg Kroah-Hartman

staging: ced1401: rename StateOf1401()

rename camel case function StateOf1401() to ced_state_of_1401()
Signed-off-by: default avatarLuca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9ee52ef6
...@@ -932,11 +932,11 @@ int ced_kill_io(DEVICE_EXTENSION *pdx) ...@@ -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) ...@@ -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); ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment