Commit bbeebecc authored by Chad Williamson's avatar Chad Williamson Committed by Greg Kroah-Hartman

Staging: silicom: remove the board_t typedef in bpctl_mod.c

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: default avatarChad Williamson <chad@dahc.us>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ae0b9530
...@@ -5815,7 +5815,7 @@ static const struct file_operations Fops = { ...@@ -5815,7 +5815,7 @@ static const struct file_operations Fops = {
#define SILICOM_E1000BP_ETHERNET_DEVICE(device_id) {\ #define SILICOM_E1000BP_ETHERNET_DEVICE(device_id) {\
PCI_DEVICE(SILICOM_VID, device_id)} PCI_DEVICE(SILICOM_VID, device_id)}
typedef enum { enum board_type {
PXG2BPFI, PXG2BPFI,
PXG2BPFIL, PXG2BPFIL,
PXG2BPFILX, PXG2BPFILX,
...@@ -5973,7 +5973,7 @@ typedef enum { ...@@ -5973,7 +5973,7 @@ typedef enum {
PE310G4BPi9SR, PE310G4BPi9SR,
PE310G4BPi9LR, PE310G4BPi9LR,
PE210G2BPi40, PE210G2BPi40,
} board_t; };
typedef struct _bpmod_info_t { typedef struct _bpmod_info_t {
unsigned int vendor; unsigned int vendor;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment