aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rt2860/chips
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-10-21 22:44:42 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 12:23:12 -0800
commitca58fb303757d73876af32238d86091c59b88507 (patch)
tree24117d224f7eca513dfdce7bc4336f36c9c71471 /drivers/staging/rt2860/chips
parentStaging: rt28x0: remove optional loading of EEPROM from file in eFuse mode (diff)
downloadlinux-dev-ca58fb303757d73876af32238d86091c59b88507.tar.xz
linux-dev-ca58fb303757d73876af32238d86091c59b88507.zip
Staging: rt28x0: fix some build warnings
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rt2860/chips')
-rw-r--r--drivers/staging/rt2860/chips/rt30xx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/rt2860/chips/rt30xx.c b/drivers/staging/rt2860/chips/rt30xx.c
index f29d11d6de47..c69fab568984 100644
--- a/drivers/staging/rt2860/chips/rt30xx.c
+++ b/drivers/staging/rt2860/chips/rt30xx.c
@@ -86,7 +86,9 @@ VOID RT30xxSetRxAnt(
IN UCHAR Ant)
{
UINT32 Value;
+#ifdef RTMP_MAC_PCI
UINT32 x;
+#endif
if ((pAd->EepromAccess) ||
(RTMP_TEST_FLAG(pAd, fRTMP_ADAPTER_RESET_IN_PROGRESS)) ||