summaryrefslogtreecommitdiffstats
path: root/drivers/staging/silicom
diff options
context:
space:
mode:
authorChad Williamson <chad@dahc.us>2013-06-25 18:59:23 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-23 14:40:16 -0700
commitc014185968903c3424776cd22d0deb1a493a1df5 (patch)
tree361aa24a54b4fe9023d47ecf513ae6b0e8b842f7 /drivers/staging/silicom
parentefb39e4eb3f117925d53c88c63e46131f0efc6da (diff)
downloadtalos-op-linux-c014185968903c3424776cd22d0deb1a493a1df5.tar.gz
talos-op-linux-c014185968903c3424776cd22d0deb1a493a1df5.zip
Staging: silicom: remove the typedef for bpmod_info_t
Remove the bpmod_info_t typedef from bpctl_mod.c, replacing it with struct bpmod_info. Signed-off-by: Chad Williamson <chad@dahc.us> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/silicom')
-rw-r--r--drivers/staging/silicom/bpctl_mod.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/silicom/bpctl_mod.c b/drivers/staging/silicom/bpctl_mod.c
index 4689076fb7d1..91c864cf4d30 100644
--- a/drivers/staging/silicom/bpctl_mod.c
+++ b/drivers/staging/silicom/bpctl_mod.c
@@ -5971,7 +5971,7 @@ enum board_type {
PE210G2BPi40,
};
-typedef struct _bpmod_info_t {
+struct bpmod_info {
unsigned int vendor;
unsigned int device;
unsigned int subvendor;
@@ -5979,7 +5979,7 @@ typedef struct _bpmod_info_t {
unsigned int index;
char *bp_name;
-} bpmod_info_t;
+};
typedef struct _dev_desc {
char *name;
@@ -6155,7 +6155,7 @@ dev_desc_t dev_desc[] = {
{0},
};
-static bpmod_info_t tx_ctl_pci_tbl[] = {
+static struct bpmod_info tx_ctl_pci_tbl[] = {
{0x8086, 0x107a, SILICOM_SVID, SILICOM_PXG2BPFI_SSID, PXG2BPFI,
"PXG2BPFI-SD"},
{0x8086, 0x107a, SILICOM_SVID, SILICOM_PXG2BPFIL_SSID, PXG2BPFIL,
@@ -6653,7 +6653,7 @@ static void find_fw(struct bpctl_dev *dev)
printk("firmware version: 0x%x\n", dev->bp_fw_ver);
}
-static int init_one(struct bpctl_dev *dev, bpmod_info_t *info, struct pci_dev *pdev1)
+static int init_one(struct bpctl_dev *dev, struct bpmod_info *info, struct pci_dev *pdev1)
{
unsigned long mmio_start, mmio_len;
OpenPOWER on IntegriCloud