X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fchar%2Fmbcs.c;h=57f9115a456cfd4b2443195a7fd67d545dd21318;hb=30fbc9f77c5a77f5f7f053d29eb92e41f6043406;hp=636354722658eb4b6cc035f7f0a22196fc91e141;hpb=63c422afe3739b68bec0b5c42807d1450c951caf;p=linux-2.6-omap-h63xx.git diff --git a/drivers/char/mbcs.c b/drivers/char/mbcs.c index 63635472265..57f9115a456 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;