Skip to content

Commit

Permalink
Staging: winbond: fix build errors
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Jun 18, 2010
1 parent bb71770 commit 2e04bb7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/staging/winbond/phy_calibration.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -142,7 +142,6 @@ u32 _s32_to_s6(s32 data)
data = 31;
else if (data < -32)
data = -32;
}

val = data & 0x003F;

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 2e04bb7

Please sign in to comment.