]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: comedi: amplc_pc236: remove 'model' member
authorIan Abbott <abbotti@mev.co.uk>
Fri, 25 Jul 2014 09:04:53 +0000 (10:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Jul 2014 18:28:38 +0000 (11:28 -0700)
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>
drivers/staging/comedi/drivers/amplc_pc236.c

index 22d3b6f08e40d131212371320098e0f960c213af..129578f86ccf43f0737d206d57ad87b97fac5a45 100644 (file)
  */
 
 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
 };