From: Malcolm Priestley Date: Wed, 16 Jul 2014 21:21:53 +0000 (+0100) Subject: staging: vt6656: rename BBbVT3184Init to vnt_vt3184_init X-Git-Tag: v3.17-rc1~123^2~540 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7534180cf97d97826bf734f5e4f9bbdc96d29c97;p=karo-tx-linux.git staging: vt6656: rename BBbVT3184Init to vnt_vt3184_init Dropping BB Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/baseband.c b/drivers/staging/vt6656/baseband.c index 65866141d40d..44068d004a63 100644 --- a/drivers/staging/vt6656/baseband.c +++ b/drivers/staging/vt6656/baseband.c @@ -29,7 +29,7 @@ * vnt_get_frame_time - Calculate data frame transmitting time * vnt_get_phy_field - Calculate PhyLength, PhyService and Phy * Signal parameter for baseband Tx - * BBbVT3184Init - VIA VT3184 baseband chip init code + * vnt_vt3184_init - VIA VT3184 baseband chip init code * * Revision History: * @@ -378,7 +378,7 @@ void vnt_set_antenna_mode(struct vnt_private *priv, u8 antenna_mode) * */ -int BBbVT3184Init(struct vnt_private *priv) +int vnt_vt3184_init(struct vnt_private *priv) { int status; u16 length; diff --git a/drivers/staging/vt6656/baseband.h b/drivers/staging/vt6656/baseband.h index a6126907a19f..f102ec009aae 100644 --- a/drivers/staging/vt6656/baseband.h +++ b/drivers/staging/vt6656/baseband.h @@ -96,7 +96,7 @@ void vnt_get_phy_field(struct vnt_private *, u32 frame_length, void BBvSetShortSlotTime(struct vnt_private *); void BBvSetVGAGainOffset(struct vnt_private *, u8 byData); void vnt_set_antenna_mode(struct vnt_private *, u8); -int BBbVT3184Init(struct vnt_private *); +int vnt_vt3184_init(struct vnt_private *); void BBvSetDeepSleep(struct vnt_private *); void BBvExitDeepSleep(struct vnt_private *); void BBvUpdatePreEDThreshold(struct vnt_private *, int scanning); diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index 7cd4c2b0a710..caafb93174e7 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -247,8 +247,8 @@ static int device_init_registers(struct vnt_private *pDevice) } } - if (!BBbVT3184Init(pDevice)) { - DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO" BBbVT3184Init fail\n"); + if (!vnt_vt3184_init(pDevice)) { + DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO" vnt_vt3184_init fail\n"); return false; }