]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/rt2860/chips/rt30xx.c
Staging: rt28x0: fix some build warnings
[~andy/linux] / drivers / staging / rt2860 / chips / rt30xx.c
index f29d11d6de47847fa2ed66c4e53bb0ec90c1050b..c69fab568984e0b8b17430db74182c6c01be86c2 100644 (file)
@@ -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))  ||