staging: ced1401: rename Reset1401()

rename camel case function Reset1401() to ced_reset()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Luca Ellero
2014-06-30 11:58:03 +02:00
committed by Greg Kroah-Hartman
parent 9629dbf142
commit 0e218f1717
3 changed files with 4 additions and 4 deletions

View File

@@ -400,11 +400,11 @@ static bool ced_quick_check(DEVICE_EXTENSION *pdx, bool bTestBuff, bool bCanRese
}
/****************************************************************************
** Reset1401
** ced_reset
**
** Resets the 1401 and empties the i/o buffers
*****************************************************************************/
int Reset1401(DEVICE_EXTENSION *pdx)
int ced_reset(DEVICE_EXTENSION *pdx)
{
mutex_lock(&pdx->io_mutex); /* Protect disconnect from new i/o */
dev_dbg(&pdx->interface->dev, "%s: About to call ced_quick_check\n",

View File

@@ -1233,7 +1233,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg)
_IOC_SIZE(cmd));
case _IOC_NR(IOCTL_CED_RESET1401):
return Reset1401(pdx);
return ced_reset(pdx);
case _IOC_NR(IOCTL_CED_GETCHAR):
return GetChar(pdx);

View File

@@ -213,7 +213,7 @@ extern int ced_send_string(DEVICE_EXTENSION *pdx, const char __user *pData, unsi
extern int ced_send_char(DEVICE_EXTENSION *pdx, char c);
extern int ced_get_state(DEVICE_EXTENSION *pdx, __u32 *state, __u32 *error);
extern int ced_read_write_cancel(DEVICE_EXTENSION *pdx);
extern int Reset1401(DEVICE_EXTENSION *pdx);
extern int ced_reset(DEVICE_EXTENSION *pdx);
extern int GetChar(DEVICE_EXTENSION *pdx);
extern int GetString(DEVICE_EXTENSION *pdx, char __user *pUser, int n);
extern int SetTransfer(DEVICE_EXTENSION *pdx, struct transfer_area_desc __user *pTD);