X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Fchar%2Fmbcs.c;h=57f9115a456cfd4b2443195a7fd67d545dd21318;hb=ccf352894ceef79d40d015e1deee4c46c3aa42ed;hp=636354722658eb4b6cc035f7f0a22196fc91e141;hpb=59458f40e25915a355d8b1d701425fe9f4f9ea23;p=powerpc.git diff --git a/drivers/char/mbcs.c b/drivers/char/mbcs.c index 6363547226..57f9115a45 100644 --- a/drivers/char/mbcs.c +++ b/drivers/char/mbcs.c @@ -46,7 +46,7 @@ LIST_HEAD(soft_list); /* * file operations */ -struct file_operations mbcs_ops = { +const struct file_operations mbcs_ops = { .open = mbcs_open, .llseek = mbcs_sram_llseek, .read = mbcs_sram_read, @@ -516,11 +516,10 @@ int mbcs_gscr_mmap(struct file *fp, struct vm_area_struct *vma) * mbcs_completion_intr_handler - Primary completion handler. * @irq: irq * @arg: soft struct for device - * @ep: regs * */ static irqreturn_t -mbcs_completion_intr_handler(int irq, void *arg, struct pt_regs *ep) +mbcs_completion_intr_handler(int irq, void *arg) { struct mbcs_soft *soft = (struct mbcs_soft *)arg; void *mmr_base;