linux/net/can
Oliver Hartkopp 53914b6799 can: make struct proto const
can_ioctl is the only reason for struct proto to be non-const.
script/check-patch.pl suggests struct proto be const.

Setting the reference to the common can_ioctl() in all CAN protocols directly
removes the need to make the struct proto writable in af_can.c

Signed-off-by: Kurt Van Dijck <kurt.van.dijck@eia.be>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-03-27 23:34:59 -07:00
..
Kconfig [CAN]: Add virtual CAN netdevice driver 2008-01-28 14:54:12 -08:00
Makefile Net: can: Makefile: Remove deprecated kbuild goal definitions 2010-11-22 08:16:09 -08:00
af_can.c can: make struct proto const 2011-03-27 23:34:59 -07:00
af_can.h can: Speed up CAN frame receiption by using ml_priv 2010-01-03 21:31:03 -08:00
bcm.c can: make struct proto const 2011-03-27 23:34:59 -07:00
proc.c can: Speed up CAN frame receiption by using ml_priv 2010-01-03 21:31:03 -08:00
raw.c can: make struct proto const 2011-03-27 23:34:59 -07:00