mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-04 18:19:28 +09:00
staging: ced1401: rename SendString()
rename camel case function SendString() to ced_send_string() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
8b35f36809
commit
747ce5829e
@@ -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.
|
||||
** 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)
|
||||
{
|
||||
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)
|
||||
|
||||
switch (_IOC_NR(cmd)) {
|
||||
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));
|
||||
|
||||
case _IOC_NR(IOCTL_CED_RESET1401):
|
||||
|
||||
@@ -209,7 +209,7 @@ extern int ced_read_write_mem(DEVICE_EXTENSION *pdx, bool Read, unsigned short w
|
||||
|
||||
/* in ced_ioc.c */
|
||||
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 Get1401State(DEVICE_EXTENSION *pdx, __u32 *state, __u32 *error);
|
||||
extern int ReadWrite_Cancel(DEVICE_EXTENSION *pdx);
|
||||
|
||||
Reference in New Issue
Block a user