Oops. Fix typo in previous check-in.
authorDavid Schleef <ds@schleef.org>
Fri, 14 Sep 2001 04:06:15 +0000 (04:06 +0000)
committerDavid Schleef <ds@schleef.org>
Fri, 14 Sep 2001 04:06:15 +0000 (04:06 +0000)
comedi/drivers/mite.c

index 8978e3a955ad735239f69a60c51adbad4c1f1fe8..11f8681a4c445c32f7ceb78760e6c719ba78a022 100644 (file)
@@ -359,7 +359,7 @@ unsigned long mite_ll_from_kvmem(struct mite_struct *mite,comedi_async *async,in
                (unsigned long)prealloc_buf,prealloc_bufsz);
        
        while(((void*)nup < (async->data+len))&&(i<(MITE_RING_SIZE-1))) {
-               int n;
+               int count;
                count = 1+TOP_OF_PAGE(nup)-nup;
                if(count>len-size_so_far) count = len-size_so_far;
                mite->ring[i].addr =kvirt_to_bus(nup);// it's already a kernel address :-)