Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 */
+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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);