mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-16 07:35:14 +00:00
staging: ced1401: rename LineCount()
rename camel case function LineCount() to ced_line_count() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1de8f0a972
commit
5dc137dd09
3 changed files with 4 additions and 4 deletions
|
@ -528,13 +528,13 @@ int ced_stat_1401(DEVICE_EXTENSION *pdx)
|
|||
}
|
||||
|
||||
/****************************************************************************
|
||||
** LineCount
|
||||
** ced_line_count
|
||||
**
|
||||
** Returns the number of newline chars in the buffer. There is no need for
|
||||
** any fancy interlocks as we only read the interrupt routine data, and the
|
||||
** system is arranged so nothing can be destroyed.
|
||||
****************************************************************************/
|
||||
int LineCount(DEVICE_EXTENSION *pdx)
|
||||
int ced_line_count(DEVICE_EXTENSION *pdx)
|
||||
{
|
||||
int iReturn = 0; /* will be count of line ends */
|
||||
|
||||
|
|
|
@ -1245,7 +1245,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg)
|
|||
return ced_stat_1401(pdx);
|
||||
|
||||
case _IOC_NR(IOCTL_CED_LINECOUNT):
|
||||
return LineCount(pdx);
|
||||
return ced_line_count(pdx);
|
||||
|
||||
case _IOC_NR(IOCTL_CED_GETSTRING(0)):
|
||||
return ced_get_string(pdx, (char __user *)ulArg, _IOC_SIZE(cmd));
|
||||
|
|
|
@ -220,7 +220,7 @@ extern int SetTransfer(DEVICE_EXTENSION *pdx, struct transfer_area_desc __user *
|
|||
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 LineCount(DEVICE_EXTENSION *pdx);
|
||||
extern int ced_line_count(DEVICE_EXTENSION *pdx);
|
||||
extern int GetOutBufSpace(DEVICE_EXTENSION *pdx);
|
||||
extern int GetTransfer(DEVICE_EXTENSION *pdx, TGET_TX_BLOCK __user *pGTB);
|
||||
extern int KillIO1401(DEVICE_EXTENSION *pdx);
|
||||
|
|
Loading…
Reference in a new issue