From: Luca Ellero Date: Mon, 30 Jun 2014 10:00:34 +0000 (+0200) Subject: staging: ced1401: rename TransferFlags() X-Git-Tag: firefly_0821_release~176^2~3491^2~1197 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4b8c94c918d0a5909dbab86d6bbea014eb322de5;p=firefly-linux-kernel-4.4.55.git staging: ced1401: rename TransferFlags() rename camel case function TransferFlags() to ced_transfer_flags() Signed-off-by: Luca Ellero Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ced1401/ced_ioc.c b/drivers/staging/ced1401/ced_ioc.c index 6b31c9f33030..3e99758701e1 100644 --- a/drivers/staging/ced1401/ced_ioc.c +++ b/drivers/staging/ced1401/ced_ioc.c @@ -1088,11 +1088,11 @@ int ced_type_of_1401(DEVICE_EXTENSION *pdx) } /**************************************************************************** -** TransferFlags +** ced_transfer_flags ** ** 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 */ U14TF_NOTIFY | U14TF_CIRCTH; /* diagnostics, notify and circular */ diff --git a/drivers/staging/ced1401/usb1401.c b/drivers/staging/ced1401/usb1401.c index f3577b91d823..1110eef29a99 100644 --- a/drivers/staging/ced1401/usb1401.c +++ b/drivers/staging/ced1401/usb1401.c @@ -1291,7 +1291,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg) return ced_type_of_1401(pdx); case _IOC_NR(IOCTL_CED_TRANSFERFLAGS): - return TransferFlags(pdx); + return ced_transfer_flags(pdx); case _IOC_NR(IOCTL_CED_DBGPEEK): return DbgPeek(pdx, (TDBGBLOCK __user *) ulArg); diff --git a/drivers/staging/ced1401/usb1401.h b/drivers/staging/ced1401/usb1401.h index 19d7296a18a9..80e94986cf54 100644 --- a/drivers/staging/ced1401/usb1401.h +++ b/drivers/staging/ced1401/usb1401.h @@ -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_check_self_test(DEVICE_EXTENSION *pdx, TGET_SELFTEST __user *pGST); 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 DbgPoke(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB); extern int DbgRampData(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);