diff options
author | Chad Williamson <chad@dahc.us> | 2013-06-23 03:02:26 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-24 19:11:20 -0400 |
commit | bbeebeccb066b408d9e3490659e8ff417153c5ee (patch) | |
tree | d648b359c0b24b9dd5138b138e6a3357a64510d7 | |
parent | ae0b9530a070ee77a8635b6b531e2bc019fdee64 (diff) |
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: Chad Williamson <chad@dahc.us>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/silicom/bpctl_mod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/silicom/bpctl_mod.c b/drivers/staging/silicom/bpctl_mod.c index c0de795ac01f..3919d16cb84b 100644 --- a/drivers/staging/silicom/bpctl_mod.c +++ b/drivers/staging/silicom/bpctl_mod.c | |||
@@ -5815,7 +5815,7 @@ static const struct file_operations Fops = { | |||
5815 | #define SILICOM_E1000BP_ETHERNET_DEVICE(device_id) {\ | 5815 | #define SILICOM_E1000BP_ETHERNET_DEVICE(device_id) {\ |
5816 | PCI_DEVICE(SILICOM_VID, device_id)} | 5816 | PCI_DEVICE(SILICOM_VID, device_id)} |
5817 | 5817 | ||
5818 | typedef enum { | 5818 | enum board_type { |
5819 | PXG2BPFI, | 5819 | PXG2BPFI, |
5820 | PXG2BPFIL, | 5820 | PXG2BPFIL, |
5821 | PXG2BPFILX, | 5821 | PXG2BPFILX, |
@@ -5973,7 +5973,7 @@ typedef enum { | |||
5973 | PE310G4BPi9SR, | 5973 | PE310G4BPi9SR, |
5974 | PE310G4BPi9LR, | 5974 | PE310G4BPi9LR, |
5975 | PE210G2BPi40, | 5975 | PE210G2BPi40, |
5976 | } board_t; | 5976 | }; |
5977 | 5977 | ||
5978 | typedef struct _bpmod_info_t { | 5978 | typedef struct _bpmod_info_t { |
5979 | unsigned int vendor; | 5979 | unsigned int vendor; |