summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6655/rf.c
diff options
context:
space:
mode:
authorJim Lieb <lieb@canonical.com>2009-08-12 21:54:16 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 19:02:08 (GMT)
commit256a816b6b78bf29fba0c0f1bbcf998953429422 (patch)
treec74cbe782154efac2cac80e075c06e44efb81055 /drivers/staging/vt6655/rf.c
parent8a3d91b02830dd7c58d27e5de65222219ac2163f (diff)
downloadlinux-fsl-qoriq-256a816b6b78bf29fba0c0f1bbcf998953429422.tar.xz
Staging: vt665x: remove tbit.h part 2
Remove use of tbit macros adn remove header file. Signed-off-by: Jim Lieb <lieb@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6655/rf.c')
-rw-r--r--drivers/staging/vt6655/rf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/vt6655/rf.c b/drivers/staging/vt6655/rf.c
index 73648ba..01ab73f 100644
--- a/drivers/staging/vt6655/rf.c
+++ b/drivers/staging/vt6655/rf.c
@@ -34,7 +34,6 @@
#include "mac.h"
#include "srom.h"
-#include "tbit.h"
#include "rf.h"
#include "baseband.h"
@@ -633,7 +632,7 @@ BOOL IFRFbWriteEmbeded (DWORD_PTR dwIoBase, DWORD dwData)
// W_MAX_TIMEOUT is the timeout period
for (ww = 0; ww < W_MAX_TIMEOUT; ww++) {
VNSvInPortD(dwIoBase + MAC_REG_IFREGCTL, &dwValue);
- if (BITbIsBitOn(dwValue, IFREGCTL_DONE))
+ if (dwValue & IFREGCTL_DONE)
break;
}