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 <abbotti@mev.co.uk> Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
350cfc5525
commit
00afdd43db
1 changed files with 0 additions and 4 deletions
|
@ -82,20 +82,17 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
enum pc236_bustype { isa_bustype, pci_bustype };
|
enum pc236_bustype { isa_bustype, pci_bustype };
|
||||||
enum pc236_model { pc36at_model, pci236_model };
|
|
||||||
|
|
||||||
struct pc236_board {
|
struct pc236_board {
|
||||||
const char *name;
|
const char *name;
|
||||||
unsigned short devid;
|
unsigned short devid;
|
||||||
enum pc236_bustype bustype;
|
enum pc236_bustype bustype;
|
||||||
enum pc236_model model;
|
|
||||||
};
|
};
|
||||||
static const struct pc236_board pc236_boards[] = {
|
static const struct pc236_board pc236_boards[] = {
|
||||||
#if DO_ISA
|
#if DO_ISA
|
||||||
{
|
{
|
||||||
.name = "pc36at",
|
.name = "pc36at",
|
||||||
.bustype = isa_bustype,
|
.bustype = isa_bustype,
|
||||||
.model = pc36at_model,
|
|
||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
#if DO_PCI
|
#if DO_PCI
|
||||||
|
@ -103,7 +100,6 @@ static const struct pc236_board pc236_boards[] = {
|
||||||
.name = "pci236",
|
.name = "pci236",
|
||||||
.devid = PCI_DEVICE_ID_AMPLICON_PCI236,
|
.devid = PCI_DEVICE_ID_AMPLICON_PCI236,
|
||||||
.bustype = pci_bustype,
|
.bustype = pci_bustype,
|
||||||
.model = pci236_model,
|
|
||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue