From: DanielC Date: Tue, 11 Sep 2012 02:41:51 +0000 (-0700) Subject: Staging: silicom: Header-cleanup X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6690da5fdc2056b78376919944886c78defcba5f;p=openwrt%2Fstaging%2Fblogic.git Staging: silicom: Header-cleanup Staging: silicom: Header cleanup of WD_STEP_COUNT_GET Signed-off-by: Daniel Cotey Signed-off-by: Greg Kroah-Hartman --- 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 {