summaryrefslogtreecommitdiffstats
path: root/net/can/Kconfig
diff options
context:
space:
mode:
authorOliver Hartkopp2011-03-22 09:27:25 +0100
committerDavid S. Miller2011-03-28 08:34:59 +0200
commit53914b67993c724cec585863755c9ebc8446e83b (patch)
tree851d031dd41a74c7e03436ca7c98455fee1c598e /net/can/Kconfig
parentnet: remove useless comments in net/core/dev.c (diff)
downloadkernel-qcow2-linux-53914b67993c724cec585863755c9ebc8446e83b.tar.gz
kernel-qcow2-linux-53914b67993c724cec585863755c9ebc8446e83b.tar.xz
kernel-qcow2-linux-53914b67993c724cec585863755c9ebc8446e83b.zip
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>
Diffstat (limited to 'net/can/Kconfig')
0 files changed, 0 insertions, 0 deletions