diff options
Diffstat (limited to 'drivers/parport')
-rw-r--r-- | drivers/parport/parport_cs.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/parport/parport_cs.c b/drivers/parport/parport_cs.c index 80c9052bf3cd..fd8cfe95f0a3 100644 --- a/drivers/parport/parport_cs.c +++ b/drivers/parport/parport_cs.c | |||
@@ -75,7 +75,6 @@ INT_MODULE_PARM(epp_mode, 1); | |||
75 | typedef struct parport_info_t { | 75 | typedef struct parport_info_t { |
76 | struct pcmcia_device *p_dev; | 76 | struct pcmcia_device *p_dev; |
77 | int ndev; | 77 | int ndev; |
78 | dev_node_t node; | ||
79 | struct parport *port; | 78 | struct parport *port; |
80 | } parport_info_t; | 79 | } parport_info_t; |
81 | 80 | ||
@@ -193,11 +192,7 @@ static int parport_config(struct pcmcia_device *link) | |||
193 | if (epp_mode) | 192 | if (epp_mode) |
194 | p->modes |= PARPORT_MODE_TRISTATE | PARPORT_MODE_EPP; | 193 | p->modes |= PARPORT_MODE_TRISTATE | PARPORT_MODE_EPP; |
195 | info->ndev = 1; | 194 | info->ndev = 1; |
196 | info->node.major = LP_MAJOR; | ||
197 | info->node.minor = p->number; | ||
198 | info->port = p; | 195 | info->port = p; |
199 | strcpy(info->node.dev_name, p->name); | ||
200 | link->dev_node = &info->node; | ||
201 | 196 | ||
202 | return 0; | 197 | return 0; |
203 | 198 | ||