Skip to content

Commit

Permalink
Staging: silicom: remove the board_t typedef in bpctl_mod.c
Browse files Browse the repository at this point in the history
Replace the board_t enum typdef with struct board_type (_type for
consistency with media_type, above), resolving a checkpatch.pl
warning. (As far as I can tell, this isn't used anywhere.)

Signed-off-by: Chad Williamson <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
dahc authored and gregkh committed Jun 24, 2013
1 parent ae0b953 commit bbeebec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/silicom/bpctl_mod.c
Original file line number Diff line number Diff line change
Expand Up @@ -5815,7 +5815,7 @@ static const struct file_operations Fops = {
#define SILICOM_E1000BP_ETHERNET_DEVICE(device_id) {\
PCI_DEVICE(SILICOM_VID, device_id)}

typedef enum {
enum board_type {
PXG2BPFI,
PXG2BPFIL,
PXG2BPFILX,
Expand Down Expand Up @@ -5973,7 +5973,7 @@ typedef enum {
PE310G4BPi9SR,
PE310G4BPi9LR,
PE210G2BPi40,
} board_t;
};

typedef struct _bpmod_info_t {
unsigned int vendor;
Expand Down

0 comments on commit bbeebec

Please sign in to comment.