This member of the boardinfo is not used by the driver. Remove it. Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx> Cc: Ian Abbott <abbotti@xxxxxxxxx> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/staging/comedi/drivers/amplc_dio200.c | 5 ----- drivers/staging/comedi/drivers/amplc_dio200.h | 3 --- drivers/staging/comedi/drivers/amplc_dio200_pci.c | 5 ----- 3 files changed, 13 deletions(-) diff --git a/drivers/staging/comedi/drivers/amplc_dio200.c b/drivers/staging/comedi/drivers/amplc_dio200.c index e855729..46839e0 100644 --- a/drivers/staging/comedi/drivers/amplc_dio200.c +++ b/drivers/staging/comedi/drivers/amplc_dio200.c @@ -203,7 +203,6 @@ static const struct dio200_board dio200_isa_boards[] = { { .name = "pc212e", - .bustype = isa_bustype, .mainsize = DIO200_IO_SIZE, .layout = { .n_subdevs = 6, @@ -216,7 +215,6 @@ static const struct dio200_board dio200_isa_boards[] = { }, { .name = "pc214e", - .bustype = isa_bustype, .mainsize = DIO200_IO_SIZE, .layout = { .n_subdevs = 4, @@ -226,7 +224,6 @@ static const struct dio200_board dio200_isa_boards[] = { }, { .name = "pc215e", - .bustype = isa_bustype, .mainsize = DIO200_IO_SIZE, .layout = { .n_subdevs = 5, @@ -238,7 +235,6 @@ static const struct dio200_board dio200_isa_boards[] = { }, { .name = "pc218e", - .bustype = isa_bustype, .mainsize = DIO200_IO_SIZE, .layout = { .n_subdevs = 7, @@ -251,7 +247,6 @@ static const struct dio200_board dio200_isa_boards[] = { }, { .name = "pc272e", - .bustype = isa_bustype, .mainsize = DIO200_IO_SIZE, .layout = { .n_subdevs = 4, diff --git a/drivers/staging/comedi/drivers/amplc_dio200.h b/drivers/staging/comedi/drivers/amplc_dio200.h index b142ba8..dec7d6e 100644 --- a/drivers/staging/comedi/drivers/amplc_dio200.h +++ b/drivers/staging/comedi/drivers/amplc_dio200.h @@ -48,12 +48,9 @@ struct dio200_layout { bool has_enhancements:1; /* has enhanced features */ }; -enum dio200_bustype { isa_bustype, pci_bustype }; - struct dio200_board { const char *name; struct dio200_layout layout; - enum dio200_bustype bustype; unsigned char mainbar; unsigned char mainshift; unsigned int mainsize; diff --git a/drivers/staging/comedi/drivers/amplc_dio200_pci.c b/drivers/staging/comedi/drivers/amplc_dio200_pci.c index 3058253..9e7bc00 100644 --- a/drivers/staging/comedi/drivers/amplc_dio200_pci.c +++ b/drivers/staging/comedi/drivers/amplc_dio200_pci.c @@ -243,7 +243,6 @@ enum dio200_pci_model { static const struct dio200_board dio200_pci_boards[] = { [pci215_model] = { .name = "pci215", - .bustype = pci_bustype, .mainbar = 2, .mainsize = DIO200_IO_SIZE, .layout = { @@ -256,7 +255,6 @@ static const struct dio200_board dio200_pci_boards[] = { }, [pci272_model] = { .name = "pci272", - .bustype = pci_bustype, .mainbar = 2, .mainsize = DIO200_IO_SIZE, .layout = { @@ -268,7 +266,6 @@ static const struct dio200_board dio200_pci_boards[] = { }, [pcie215_model] = { .name = "pcie215", - .bustype = pci_bustype, .mainbar = 1, .mainshift = 3, .mainsize = DIO200_PCIE_IO_SIZE, @@ -285,7 +282,6 @@ static const struct dio200_board dio200_pci_boards[] = { }, [pcie236_model] = { .name = "pcie236", - .bustype = pci_bustype, .mainbar = 1, .mainshift = 3, .mainsize = DIO200_PCIE_IO_SIZE, @@ -302,7 +298,6 @@ static const struct dio200_board dio200_pci_boards[] = { }, [pcie296_model] = { .name = "pcie296", - .bustype = pci_bustype, .mainbar = 1, .mainshift = 3, .mainsize = DIO200_PCIE_IO_SIZE, -- 2.0.3 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel