From: Luca Ellero Date: Mon, 30 Jun 2014 10:00:41 +0000 (+0200) Subject: staging: ced1401: rename DbgStopLoop() X-Git-Tag: v3.17-rc1~123^2~1190 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2cf025938d45468f5172a8ef797c3adf17cd34dd;p=karo-tx-linux.git staging: ced1401: rename DbgStopLoop() rename camel case function DbgStopLoop() to ced_dbg_stop_loop() 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 693d51b62aaf..e46a7b656870 100644 --- a/drivers/staging/ced1401/ced_ioc.c +++ b/drivers/staging/ced1401/ced_ioc.c @@ -1280,12 +1280,12 @@ int ced_dbg_get_data(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB) } /**************************************************************************** -** DbgStopLoop +** ced_dbg_stop_loop ** ** Stop any never-ending debug loop, we just call ced_get_state for USB ** ****************************************************************************/ -int DbgStopLoop(DEVICE_EXTENSION *pdx) +int ced_dbg_stop_loop(DEVICE_EXTENSION *pdx) { int iReturn; unsigned int uState, uErr; diff --git a/drivers/staging/ced1401/usb1401.c b/drivers/staging/ced1401/usb1401.c index 904f747b4c03..3c65c550585b 100644 --- a/drivers/staging/ced1401/usb1401.c +++ b/drivers/staging/ced1401/usb1401.c @@ -1309,7 +1309,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg) return ced_dbg_get_data(pdx, (TDBGBLOCK __user *) ulArg); case _IOC_NR(IOCTL_CED_DBGSTOPLOOP): - return DbgStopLoop(pdx); + return ced_dbg_stop_loop(pdx); case _IOC_NR(IOCTL_CED_FULLRESET): pdx->bForceReset = true; /* Set a flag for a full reset */ diff --git a/drivers/staging/ced1401/usb1401.h b/drivers/staging/ced1401/usb1401.h index 677b3731e48d..8f7b7e3c832b 100644 --- a/drivers/staging/ced1401/usb1401.h +++ b/drivers/staging/ced1401/usb1401.h @@ -234,7 +234,7 @@ extern int ced_dbg_poke(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB); extern int ced_dbg_ramp_data(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB); extern int ced_dbg_ramp_addr(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB); extern int ced_dbg_get_data(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB); -extern int DbgStopLoop(DEVICE_EXTENSION *pdx); +extern int ced_dbg_stop_loop(DEVICE_EXTENSION *pdx); extern int SetCircular(DEVICE_EXTENSION *pdx, struct transfer_area_desc __user *pTD); extern int GetCircBlock(DEVICE_EXTENSION *pdx, TCIRCBLOCK __user *pCB); extern int FreeCircBlock(DEVICE_EXTENSION *pdx, TCIRCBLOCK __user *pCB);