X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Fcdrom%2Fcm206.c;h=b6c61bbb20e135adbba310b0d4f7cb5ea54d41d8;hb=1289335a2ab57d00c638c3954dc86d6c4eab5606;hp=9b05ddd23141dbd4acb8b53b7bef3589de587cf4;hpb=a4b47ab9464a8200528fad3101668abdd7379cf9;p=powerpc.git diff --git a/drivers/cdrom/cm206.c b/drivers/cdrom/cm206.c index 9b05ddd231..b6c61bbb20 100644 --- a/drivers/cdrom/cm206.c +++ b/drivers/cdrom/cm206.c @@ -359,7 +359,7 @@ static struct tasklet_struct cm206_tasklet; as there seems so reason for this to happen. */ -static irqreturn_t cm206_interrupt(int sig, void *dev_id, struct pt_regs *regs) +static irqreturn_t cm206_interrupt(int sig, void *dev_id) { volatile ush fool; cd->intr_ds = inw(r_data_status); /* resets data_ready, data_error, @@ -1420,7 +1420,7 @@ int __init cm206_init(void) return -EIO; } printk(" adapter at 0x%x", cm206_base); - cd = (struct cm206_struct *) kmalloc(size, GFP_KERNEL); + cd = kmalloc(size, GFP_KERNEL); if (!cd) goto out_base; /* Now we have found the adaptor card, try to reset it. As we have