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

staging: ced1401: rename GetOutBufSpace()

rename camel case function GetOutBufSpace() to ced_get_out_buf_space()
Signed-off-by: default avatarLuca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5dc137dd
...@@ -562,11 +562,11 @@ int ced_line_count(DEVICE_EXTENSION *pdx) ...@@ -562,11 +562,11 @@ int ced_line_count(DEVICE_EXTENSION *pdx)
} }
/**************************************************************************** /****************************************************************************
** GetOutBufSpace ** ced_get_out_buf_space
** **
** Gets the space in the output buffer. Called from user code. ** Gets the space in the output buffer. Called from user code.
*****************************************************************************/ *****************************************************************************/
int GetOutBufSpace(DEVICE_EXTENSION *pdx) int ced_get_out_buf_space(DEVICE_EXTENSION *pdx)
{ {
int iReturn; int iReturn;
mutex_lock(&pdx->io_mutex); /* Protect disconnect from new i/o */ mutex_lock(&pdx->io_mutex); /* Protect disconnect from new i/o */
......
...@@ -1260,7 +1260,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg) ...@@ -1260,7 +1260,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg)
return SetEvent(pdx, (struct transfer_event __user *) ulArg); return SetEvent(pdx, (struct transfer_event __user *) ulArg);
case _IOC_NR(IOCTL_CED_GETOUTBUFSPACE): case _IOC_NR(IOCTL_CED_GETOUTBUFSPACE):
return GetOutBufSpace(pdx); return ced_get_out_buf_space(pdx);
case _IOC_NR(IOCTL_CED_GETBASEADDRESS): case _IOC_NR(IOCTL_CED_GETBASEADDRESS):
return -1; return -1;
......
...@@ -221,7 +221,7 @@ extern int UnsetTransfer(DEVICE_EXTENSION *pdx, int nArea); ...@@ -221,7 +221,7 @@ extern int UnsetTransfer(DEVICE_EXTENSION *pdx, int nArea);
extern int SetEvent(DEVICE_EXTENSION *pdx, struct transfer_event __user *pTE); extern int SetEvent(DEVICE_EXTENSION *pdx, struct transfer_event __user *pTE);
extern int ced_stat_1401(DEVICE_EXTENSION *pdx); 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 GetOutBufSpace(DEVICE_EXTENSION *pdx); extern int ced_get_out_buf_space(DEVICE_EXTENSION *pdx);
extern int GetTransfer(DEVICE_EXTENSION *pdx, TGET_TX_BLOCK __user *pGTB); extern int GetTransfer(DEVICE_EXTENSION *pdx, TGET_TX_BLOCK __user *pGTB);
extern int KillIO1401(DEVICE_EXTENSION *pdx); extern int KillIO1401(DEVICE_EXTENSION *pdx);
extern int BlkTransState(DEVICE_EXTENSION *pdx); extern int BlkTransState(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