From: Oliver Hartkopp Date: Tue, 22 Mar 2011 08:27:25 +0000 (+0000) Subject: can: make struct proto const X-Git-Tag: v2.6.39-rc1~9^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53914b67993c724cec585863755c9ebc8446e83b;p=pandora-kernel.git 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 Signed-off-by: Oliver Hartkopp Signed-off-by: David S. Miller --- Reading git-diff-tree failed