X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=net%2Fcan%2Fbcm.c;h=57b1aed79014cdd6022fa04175a1344139f57334;hb=6738d3210aabe3016a1b03cd98a7fc479c229197;hp=092dc88a7c64c63856f91a32d4c5511471476eaa;hpb=afe997a183ecc0be72652c7a5ce2152bdf91724e;p=platform%2Fkernel%2Flinux-arm64.git diff --git a/net/can/bcm.c b/net/can/bcm.c index 092dc88..57b1aed 100644 --- a/net/can/bcm.c +++ b/net/can/bcm.c @@ -387,7 +387,7 @@ static void bcm_tx_timeout_tsklet(unsigned long data) } /* - * bcm_tx_timeout_handler - performes cyclic CAN frame transmissions + * bcm_tx_timeout_handler - performs cyclic CAN frame transmissions */ static enum hrtimer_restart bcm_tx_timeout_handler(struct hrtimer *hrtimer) { @@ -1569,7 +1569,7 @@ static int bcm_recvmsg(struct kiocb *iocb, struct socket *sock, return size; } -static struct proto_ops bcm_ops __read_mostly = { +static const struct proto_ops bcm_ops = { .family = PF_CAN, .release = bcm_release, .bind = sock_no_bind, @@ -1578,7 +1578,7 @@ static struct proto_ops bcm_ops __read_mostly = { .accept = sock_no_accept, .getname = sock_no_getname, .poll = datagram_poll, - .ioctl = NULL, /* use can_ioctl() from af_can.c */ + .ioctl = can_ioctl, /* use can_ioctl() from af_can.c */ .listen = sock_no_listen, .shutdown = sock_no_shutdown, .setsockopt = sock_no_setsockopt,