Commit 4b8c94c9 authored by Luca Ellero's avatar Luca Ellero Committed by Greg Kroah-Hartman

staging: ced1401: rename TransferFlags()

rename camel case function TransferFlags() to ced_transfer_flags()
Signed-off-by: default avatarLuca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9056249f
...@@ -1088,11 +1088,11 @@ int ced_type_of_1401(DEVICE_EXTENSION *pdx) ...@@ -1088,11 +1088,11 @@ int ced_type_of_1401(DEVICE_EXTENSION *pdx)
} }
/**************************************************************************** /****************************************************************************
** TransferFlags ** ced_transfer_flags
** **
** Returns flags on block transfer abilities ** Returns flags on block transfer abilities
****************************************************************************/ ****************************************************************************/
int TransferFlags(DEVICE_EXTENSION *pdx) int ced_transfer_flags(DEVICE_EXTENSION *pdx)
{ {
int iReturn = U14TF_MULTIA | U14TF_DIAG | /* we always have multiple DMA area */ int iReturn = U14TF_MULTIA | U14TF_DIAG | /* we always have multiple DMA area */
U14TF_NOTIFY | U14TF_CIRCTH; /* diagnostics, notify and circular */ U14TF_NOTIFY | U14TF_CIRCTH; /* diagnostics, notify and circular */
......
...@@ -1291,7 +1291,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg) ...@@ -1291,7 +1291,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg)
return ced_type_of_1401(pdx); return ced_type_of_1401(pdx);
case _IOC_NR(IOCTL_CED_TRANSFERFLAGS): case _IOC_NR(IOCTL_CED_TRANSFERFLAGS):
return TransferFlags(pdx); return ced_transfer_flags(pdx);
case _IOC_NR(IOCTL_CED_DBGPEEK): case _IOC_NR(IOCTL_CED_DBGPEEK):
return DbgPeek(pdx, (TDBGBLOCK __user *) ulArg); return DbgPeek(pdx, (TDBGBLOCK __user *) ulArg);
......
...@@ -228,7 +228,7 @@ extern int ced_state_of_1401(DEVICE_EXTENSION *pdx); ...@@ -228,7 +228,7 @@ extern int ced_state_of_1401(DEVICE_EXTENSION *pdx);
extern int ced_start_self_test(DEVICE_EXTENSION *pdx); extern int ced_start_self_test(DEVICE_EXTENSION *pdx);
extern int ced_check_self_test(DEVICE_EXTENSION *pdx, TGET_SELFTEST __user *pGST); extern int ced_check_self_test(DEVICE_EXTENSION *pdx, TGET_SELFTEST __user *pGST);
extern int ced_type_of_1401(DEVICE_EXTENSION *pdx); extern int ced_type_of_1401(DEVICE_EXTENSION *pdx);
extern int TransferFlags(DEVICE_EXTENSION *pdx); extern int ced_transfer_flags(DEVICE_EXTENSION *pdx);
extern int DbgPeek(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB); extern int DbgPeek(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);
extern int DbgPoke(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB); extern int DbgPoke(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);
extern int DbgRampData(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB); extern int DbgRampData(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);
......
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