aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/winbond
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2010-06-18 15:30:28 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-18 15:30:28 -0700
commit2e04bb7b284198f26e129b03e03459a7045cb8b6 (patch)
treeaf949bd1308b221809c9a0099ef88a4926c3daec /drivers/staging/winbond
parentbb71770cdb19f2cabb77afb329025ba460d05ebc (diff)
Staging: winbond: fix build errors
Some errors crept in due to a previous patch that I missed. This fixes them up so the driver continues to build, sorry about that. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/winbond')
-rw-r--r--drivers/staging/winbond/phy_calibration.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/winbond/phy_calibration.c b/drivers/staging/winbond/phy_calibration.c
index 5eefea31948..5c1f05392db 100644
--- a/drivers/staging/winbond/phy_calibration.c
+++ b/drivers/staging/winbond/phy_calibration.c
@@ -32,7 +32,7 @@ static const s32 Angles[] = {
FIXED(DEG2RAD(0.111906)), FIXED(DEG2RAD(0.055953)), FIXED(DEG2RAD(0.027977))
};
-/****************** LOCAL FUNCTION DECLARATION SECTION **********************
+/****************** LOCAL FUNCTION DECLARATION SECTION **********************/
/*
* void _phy_rf_write_delay(struct hw_data *phw_data);
@@ -142,7 +142,6 @@ u32 _s32_to_s6(s32 data)
data = 31;
else if (data < -32)
data = -32;
- }
val = data & 0x003F;
@@ -1496,7 +1495,7 @@ void phy_calibration_winbond(struct hw_data *phw_data, u32 frequency)
/******************/
void phy_set_rf_data(struct hw_data *pHwData, u32 index, u32 value)
{
- u32 ltmpi = 0;
+ u32 ltmp = 0;
switch (pHwData->phy_type) {
case RF_MAXIM_2825: