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

staging: ced1401: rename LineCount()

rename camel case function LineCount() to ced_line_count()
Signed-off-by: default avatarLuca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1de8f0a9
...@@ -528,13 +528,13 @@ int ced_stat_1401(DEVICE_EXTENSION *pdx) ...@@ -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 ** 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 ** any fancy interlocks as we only read the interrupt routine data, and the
** system is arranged so nothing can be destroyed. ** 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 */ 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) ...@@ -1245,7 +1245,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg)
return ced_stat_1401(pdx); return ced_stat_1401(pdx);
case _IOC_NR(IOCTL_CED_LINECOUNT): case _IOC_NR(IOCTL_CED_LINECOUNT):
return LineCount(pdx); return ced_line_count(pdx);
case _IOC_NR(IOCTL_CED_GETSTRING(0)): case _IOC_NR(IOCTL_CED_GETSTRING(0)):
return ced_get_string(pdx, (char __user *)ulArg, _IOC_SIZE(cmd)); 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 * ...@@ -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 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 LineCount(DEVICE_EXTENSION *pdx); extern int ced_line_count(DEVICE_EXTENSION *pdx);
extern int GetOutBufSpace(DEVICE_EXTENSION *pdx); extern int GetOutBufSpace(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);
......
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