This member of the boardinfo is not used by the driver. Remove it.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
static const struct dio200_board dio200_isa_boards[] = {
{
.name = "pc212e",
- .bustype = isa_bustype,
.mainsize = DIO200_IO_SIZE,
.layout = {
.n_subdevs = 6,
},
{
.name = "pc214e",
- .bustype = isa_bustype,
.mainsize = DIO200_IO_SIZE,
.layout = {
.n_subdevs = 4,
},
{
.name = "pc215e",
- .bustype = isa_bustype,
.mainsize = DIO200_IO_SIZE,
.layout = {
.n_subdevs = 5,
},
{
.name = "pc218e",
- .bustype = isa_bustype,
.mainsize = DIO200_IO_SIZE,
.layout = {
.n_subdevs = 7,
},
{
.name = "pc272e",
- .bustype = isa_bustype,
.mainsize = DIO200_IO_SIZE,
.layout = {
.n_subdevs = 4,
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;
static const struct dio200_board dio200_pci_boards[] = {
[pci215_model] = {
.name = "pci215",
- .bustype = pci_bustype,
.mainbar = 2,
.mainsize = DIO200_IO_SIZE,
.layout = {
},
[pci272_model] = {
.name = "pci272",
- .bustype = pci_bustype,
.mainbar = 2,
.mainsize = DIO200_IO_SIZE,
.layout = {
},
[pcie215_model] = {
.name = "pcie215",
- .bustype = pci_bustype,
.mainbar = 1,
.mainshift = 3,
.mainsize = DIO200_PCIE_IO_SIZE,
},
[pcie236_model] = {
.name = "pcie236",
- .bustype = pci_bustype,
.mainbar = 1,
.mainshift = 3,
.mainsize = DIO200_PCIE_IO_SIZE,
},
[pcie296_model] = {
.name = "pcie296",
- .bustype = pci_bustype,
.mainbar = 1,
.mainshift = 3,
.mainsize = DIO200_PCIE_IO_SIZE,