mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
staging: ced1401: rename GetOutBufSpace()
rename camel case function GetOutBufSpace() to ced_get_out_buf_space() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5dc137dd09
commit
6e5155d0b8
3 changed files with 4 additions and 4 deletions
|
|
@ -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.
|
||||
*****************************************************************************/
|
||||
int GetOutBufSpace(DEVICE_EXTENSION *pdx)
|
||||
int ced_get_out_buf_space(DEVICE_EXTENSION *pdx)
|
||||
{
|
||||
int iReturn;
|
||||
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)
|
|||
return SetEvent(pdx, (struct transfer_event __user *) ulArg);
|
||||
|
||||
case _IOC_NR(IOCTL_CED_GETOUTBUFSPACE):
|
||||
return GetOutBufSpace(pdx);
|
||||
return ced_get_out_buf_space(pdx);
|
||||
|
||||
case _IOC_NR(IOCTL_CED_GETBASEADDRESS):
|
||||
return -1;
|
||||
|
|
|
|||
|
|
@ -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 ced_stat_1401(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 KillIO1401(DEVICE_EXTENSION *pdx);
|
||||
extern int BlkTransState(DEVICE_EXTENSION *pdx);
|
||||
|
|
|
|||
Loading…
Reference in a new issue