Commit eea410ce authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: pcl724: remove 'dio' from boardinfo

This data in the boardinfo is not used by the driver. Remove it.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 57aade1d
...@@ -53,7 +53,6 @@ struct pcl724_board { ...@@ -53,7 +53,6 @@ struct pcl724_board {
unsigned int io_range; unsigned int io_range;
unsigned int can_have96:1; unsigned int can_have96:1;
unsigned int is_pet48:1; unsigned int is_pet48:1;
int dio;
int numofports; int numofports;
}; };
...@@ -61,36 +60,30 @@ static const struct pcl724_board boardtypes[] = { ...@@ -61,36 +60,30 @@ static const struct pcl724_board boardtypes[] = {
{ {
.name = "pcl724", .name = "pcl724",
.io_range = 0x04, .io_range = 0x04,
.dio = 24, .numofports = 1, /* 24 DIO channels */
.numofports = 1,
}, { }, {
.name = "pcl722", .name = "pcl722",
.io_range = 0x20, .io_range = 0x20,
.can_have96 = 1, .can_have96 = 1,
.dio = 144, .numofports = 6, /* 144 (or 96) DIO channels */
.numofports = 6,
}, { }, {
.name = "pcl731", .name = "pcl731",
.io_range = 0x08, .io_range = 0x08,
.dio = 48, .numofports = 2, /* 48 DIO channels */
.numofports = 2,
}, { }, {
.name = "acl7122", .name = "acl7122",
.io_range = 0x20, .io_range = 0x20,
.can_have96 = 1, .can_have96 = 1,
.dio = 144, .numofports = 6, /* 144 (or 96) DIO channels */
.numofports = 6,
}, { }, {
.name = "acl7124", .name = "acl7124",
.io_range = 0x04, .io_range = 0x04,
.dio = 24, .numofports = 1, /* 24 DIO channels */
.numofports = 1,
}, { }, {
.name = "pet48dio", .name = "pet48dio",
.io_range = 0x02, .io_range = 0x02,
.is_pet48 = 1, .is_pet48 = 1,
.dio = 48, .numofports = 2, /* 48 DIO channels */
.numofports = 2,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment