VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / drivers / block / paride / bpck6.c
index 71646db..354f67a 100644 (file)
@@ -41,7 +41,7 @@ static int verbose; /* set this to 1 to see debugging messages and whatnot */
 
  
 
-#define PPCSTRUCT(pi) ((PPC *)(pi->private))
+#define PPCSTRUCT(pi) ((Interface *)(pi->private))
 
 /****************************************************************/
 /*
@@ -224,10 +224,10 @@ static void bpck6_log_adapter( PIA *pi, char * scratch, int verbose )
 
 static int bpck6_init_proto(PIA *pi)
 {
-       PPC *p = kmalloc(sizeof(PPC), GFP_KERNEL);
+       Interface *p = kmalloc(sizeof(Interface), GFP_KERNEL);
 
        if (p) {
-               memset(p, 0, sizeof(PPC));
+               memset(p, 0, sizeof(Interface));
                pi->private = (unsigned long)p;
                return 0;
        }