Skip to content

Commit

Permalink
Staging: silicom: Header-cleanup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
DanielC authored and Greg Kroah-Hartman committed Sep 10, 2012
1 parent 909ff71 commit 6690da5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/silicom/bp_ioctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/silicom/libbp_sd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6690da5

Please sign in to comment.