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

staging: ced1401: rename KillIO1401()

rename camel case function KillIO1401() to ced_kill_io()
Signed-off-by: default avatarLuca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3d012b01
...@@ -917,11 +917,11 @@ int ced_get_transfer(DEVICE_EXTENSION *pdx, TGET_TX_BLOCK __user *pTX) ...@@ -917,11 +917,11 @@ int ced_get_transfer(DEVICE_EXTENSION *pdx, TGET_TX_BLOCK __user *pTX)
} }
/**************************************************************************** /****************************************************************************
** KillIO1401 ** ced_kill_io
** **
** Empties the host i/o buffers ** Empties the host i/o buffers
****************************************************************************/ ****************************************************************************/
int KillIO1401(DEVICE_EXTENSION *pdx) int ced_kill_io(DEVICE_EXTENSION *pdx)
{ {
dev_dbg(&pdx->interface->dev, "%s\n", __func__); dev_dbg(&pdx->interface->dev, "%s\n", __func__);
mutex_lock(&pdx->io_mutex); mutex_lock(&pdx->io_mutex);
......
...@@ -1272,7 +1272,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg) ...@@ -1272,7 +1272,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg)
return ced_get_transfer(pdx, (TGET_TX_BLOCK __user *) ulArg); return ced_get_transfer(pdx, (TGET_TX_BLOCK __user *) ulArg);
case _IOC_NR(IOCTL_CED_KILLIO1401): case _IOC_NR(IOCTL_CED_KILLIO1401):
return KillIO1401(pdx); return ced_kill_io(pdx);
case _IOC_NR(IOCTL_CED_STATEOF1401): case _IOC_NR(IOCTL_CED_STATEOF1401):
return StateOf1401(pdx); return StateOf1401(pdx);
......
...@@ -223,7 +223,7 @@ extern int ced_stat_1401(DEVICE_EXTENSION *pdx); ...@@ -223,7 +223,7 @@ extern int ced_stat_1401(DEVICE_EXTENSION *pdx);
extern int ced_line_count(DEVICE_EXTENSION *pdx); 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 KillIO1401(DEVICE_EXTENSION *pdx); extern int ced_kill_io(DEVICE_EXTENSION *pdx);
extern int BlkTransState(DEVICE_EXTENSION *pdx); extern int BlkTransState(DEVICE_EXTENSION *pdx);
extern int StateOf1401(DEVICE_EXTENSION *pdx); extern int StateOf1401(DEVICE_EXTENSION *pdx);
extern int StartSelfTest(DEVICE_EXTENSION *pdx); extern int StartSelfTest(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