From 10ffbfd28081a8618e5040e169fa28625c618df2 Mon Sep 17 00:00:00 2001 From: Gerhard Jaeger Date: Tue, 8 Jun 2004 09:29:52 +0000 Subject: [PATCH] fixed multiple parport problem for kernel 2.6.x. --- backend/plustek-pp_misc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/plustek-pp_misc.c b/backend/plustek-pp_misc.c index 59909af1d..d1e460d6f 100644 --- a/backend/plustek-pp_misc.c +++ b/backend/plustek-pp_misc.c @@ -35,6 +35,7 @@ * - 0.42 - changed get_fast_time to _GET_TIME * - changed include names * - 0.43 - added LINUX_26 stuff + * - minor fixes * . *
* This file is part of the SANE package. @@ -139,9 +140,6 @@ static void misc_attach(struct parport *port) DBG( DBG_LOW, "Port mode reported: (0x%04x)\n", port->modes ); __ps->pp = port; } - - __ps = NULL; - __pa = -1; } static void misc_detach( struct parport *port )