X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fchar%2Fviocons.c;h=6d2e314860df52f32314f66eb830c981af7dd1b8;hb=9eb200748878751310cd9848c5dd4d467960beec;hp=f3efeaf2826e901a65fced866aa86b0c9b21bead;hpb=8bff05b052db7a4cfaaf0eee7f8145600548e9c9;p=linux-2.6-omap-h63xx.git diff --git a/drivers/char/viocons.c b/drivers/char/viocons.c index f3efeaf2826..6d2e314860d 100644 --- a/drivers/char/viocons.c +++ b/drivers/char/viocons.c @@ -947,7 +947,7 @@ static void vioHandleData(struct HvLpEvent *event) */ continue; } else if (vio_sysrq_pressed) { - handle_sysrq(cevent->data[index], NULL, tty); + handle_sysrq(cevent->data[index], tty); vio_sysrq_pressed = 0; /* * continue because we don't want to add @@ -1047,7 +1047,7 @@ static int send_open(HvLpIndex remoteLp, void *sem) 0, 0, 0, 0); } -static struct tty_operations serial_ops = { +static const struct tty_operations serial_ops = { .open = viotty_open, .close = viotty_close, .write = viotty_write,