X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=inline;f=drivers%2Fblock%2Fparide%2Fbpck6.c;h=354f67ac5fecb9c925e03b8da03b3ea317c555c2;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=71646dba6791e7d783815dd9967ffc10e1a42c83;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/drivers/block/paride/bpck6.c b/drivers/block/paride/bpck6.c index 71646dba6..354f67ac5 100644 --- a/drivers/block/paride/bpck6.c +++ b/drivers/block/paride/bpck6.c @@ -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; }