--- drivers/parport/parport_pc.c | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) diff -puN drivers/parport/parport_pc.c~parport-09-track-used-ports-fix drivers/parport/parport_pc.c --- 25/drivers/parport/parport_pc.c~parport-09-track-used-ports-fix 2004-02-20 02:39:20.000000000 -0800 +++ 25-akpm/drivers/parport/parport_pc.c 2004-02-20 02:39:28.000000000 -0800 @@ -2328,10 +2328,9 @@ EXPORT_SYMBOL (parport_pc_probe_port); void parport_pc_unregister_port (struct parport *p) { -#ifdef CONFIG_PARPORT_PC_FIFO struct parport_pc_private *priv = p->private_data; -#endif /* CONFIG_PARPORT_PC_FIFO */ struct parport_operations *ops = p->ops; + parport_remove_port(p); spin_lock(&ports_lock); list_del_init(&priv->list); _