summaryrefslogtreecommitdiff
path: root/drivers/staging/silicom
diff options
context:
space:
mode:
authorDanielC <puff65537@bansheeslibrary.com>2012-09-10 19:41:51 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-10 15:45:27 -0700
commit6690da5fdc2056b78376919944886c78defcba5f (patch)
tree0b90052a2efeb7308565df9a4987a8abb8c53cd4 /drivers/staging/silicom
parent909ff71041262f1e9de465dd8c0fee6da17747fd (diff)
Staging: silicom: Header-cleanup
Staging: silicom: Header cleanup of WD_STEP_COUNT_GET Signed-off-by: Daniel Cotey <puff65537@bansheeslibrary.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/silicom')
-rw-r--r--drivers/staging/silicom/bp_ioctl.h2
-rw-r--r--drivers/staging/silicom/libbp_sd.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/silicom/bp_ioctl.h b/drivers/staging/silicom/bp_ioctl.h
index 7621fe8176bc..7d468a0ee79a 100644
--- a/drivers/staging/silicom/bp_ioctl.h
+++ b/drivers/staging/silicom/bp_ioctl.h
@@ -53,7 +53,7 @@
#define WDT_STEP_TIME 0x10 /* BIT_4 */
#define WD_MIN_TIME_GET(desc) (desc & 0xf)
-#define WD_STEP_COUNT_GET(desc) (desc>>5) & 0xf
+#define WD_STEP_COUNT_GET(desc) ((desc>>5) & 0xf)
typedef enum {
IF_SCAN,
diff --git a/drivers/staging/silicom/libbp_sd.h b/drivers/staging/silicom/libbp_sd.h
index 1ba8b8405bcf..d223a6cfca27 100644
--- a/drivers/staging/silicom/libbp_sd.h
+++ b/drivers/staging/silicom/libbp_sd.h
@@ -42,7 +42,6 @@
#define NIC_CAP_NEG 0x4000000 /* BIT 26 */
#define WD_MIN_TIME_GET(desc) (desc & 0xf)
-#define WD_STEP_COUNT_GET(desc) (desc>>5) & 0xf
#define WDT_STEP_TIME 0x10
struct bp_info {