Commit 747ce582 authored by Luca Ellero's avatar Luca Ellero Committed by Greg Kroah-Hartman

staging: ced1401: rename SendString()

rename camel case function SendString() to ced_send_string()
Signed-off-by: default avatarLuca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8b35f368
...@@ -105,7 +105,7 @@ static int ced_put_chars(DEVICE_EXTENSION *pdx, const char *pCh, ...@@ -105,7 +105,7 @@ static int ced_put_chars(DEVICE_EXTENSION *pdx, const char *pCh,
** trigger an output transfer if this is appropriate. User mode. ** trigger an output transfer if this is appropriate. User mode.
** Holds the io_mutex ** Holds the io_mutex
*****************************************************************************/ *****************************************************************************/
int SendString(DEVICE_EXTENSION *pdx, const char __user *pData, int ced_send_string(DEVICE_EXTENSION *pdx, const char __user *pData,
unsigned int n) unsigned int n)
{ {
int iReturn = U14ERR_NOERROR; /* assume all will be well */ int iReturn = U14ERR_NOERROR; /* assume all will be well */
......
...@@ -1229,7 +1229,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg) ...@@ -1229,7 +1229,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg)
switch (_IOC_NR(cmd)) { switch (_IOC_NR(cmd)) {
case _IOC_NR(IOCTL_CED_SENDSTRING(0)): case _IOC_NR(IOCTL_CED_SENDSTRING(0)):
return SendString(pdx, (const char __user *)ulArg, return ced_send_string(pdx, (const char __user *)ulArg,
_IOC_SIZE(cmd)); _IOC_SIZE(cmd));
case _IOC_NR(IOCTL_CED_RESET1401): case _IOC_NR(IOCTL_CED_RESET1401):
......
...@@ -209,7 +209,7 @@ extern int ced_read_write_mem(DEVICE_EXTENSION *pdx, bool Read, unsigned short w ...@@ -209,7 +209,7 @@ extern int ced_read_write_mem(DEVICE_EXTENSION *pdx, bool Read, unsigned short w
/* in ced_ioc.c */ /* in ced_ioc.c */
extern int ClearArea(DEVICE_EXTENSION *pdx, int nArea); extern int ClearArea(DEVICE_EXTENSION *pdx, int nArea);
extern int SendString(DEVICE_EXTENSION *pdx, const char __user *pData, unsigned int n); extern int ced_send_string(DEVICE_EXTENSION *pdx, const char __user *pData, unsigned int n);
extern int SendChar(DEVICE_EXTENSION *pdx, char c); extern int SendChar(DEVICE_EXTENSION *pdx, char c);
extern int Get1401State(DEVICE_EXTENSION *pdx, __u32 *state, __u32 *error); extern int Get1401State(DEVICE_EXTENSION *pdx, __u32 *state, __u32 *error);
extern int ReadWrite_Cancel(DEVICE_EXTENSION *pdx); extern int ReadWrite_Cancel(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