aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Abbott <[email protected]>2014-07-25 10:04:53 +0100
committerGreg Kroah-Hartman <[email protected]>2014-07-27 11:28:38 -0700
commit00afdd43db07e5093b69a5b9cca5f27f416ebfff (patch)
treee79609688907997545f8094516ea11850b469b05
parent350cfc5525bb5e1cd64ba19470a6e471611d117d (diff)
staging: comedi: amplc_pc236: remove 'model' member
The `model` member of `struct pc236_board` is no longer used since the code to remove manual configuration of PCI devices was removed. Get rid of it. Signed-off-by: Ian Abbott <[email protected]> Reviewed-by: H Hartley Sweeten <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/comedi/drivers/amplc_pc236.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/comedi/drivers/amplc_pc236.c b/drivers/staging/comedi/drivers/amplc_pc236.c
index 22d3b6f08e40..129578f86ccf 100644
--- a/drivers/staging/comedi/drivers/amplc_pc236.c
+++ b/drivers/staging/comedi/drivers/amplc_pc236.c
@@ -82,20 +82,17 @@
*/
enum pc236_bustype { isa_bustype, pci_bustype };
-enum pc236_model { pc36at_model, pci236_model };
struct pc236_board {
const char *name;
unsigned short devid;
enum pc236_bustype bustype;
- enum pc236_model model;
};
static const struct pc236_board pc236_boards[] = {
#if DO_ISA
{
.name = "pc36at",
.bustype = isa_bustype,
- .model = pc36at_model,
},
#endif
#if DO_PCI
@@ -103,7 +100,6 @@ static const struct pc236_board pc236_boards[] = {
.name = "pci236",
.devid = PCI_DEVICE_ID_AMPLICON_PCI236,
.bustype = pci_bustype,
- .model = pci236_model,
},
#endif
};