diff options
author | DanielC <puff65537@bansheeslibrary.com> | 2012-09-10 19:41:51 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-10 15:45:27 -0700 |
commit | 6690da5fdc2056b78376919944886c78defcba5f (patch) | |
tree | 0b90052a2efeb7308565df9a4987a8abb8c53cd4 /drivers/staging/silicom | |
parent | 909ff71041262f1e9de465dd8c0fee6da17747fd (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.h | 2 | ||||
-rw-r--r-- | drivers/staging/silicom/libbp_sd.h | 1 |
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 { |