From: Johannes Berg Date: Thu, 14 Nov 2013 16:14:46 +0000 (+0100) Subject: genetlink: make all genl_ops users const X-Git-Tag: v3.13-rc1~33^2~32^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4534de8305b3f1460a527a0cda0e3dc2224c6f0c;p=pandora-kernel.git genetlink: make all genl_ops users const Now that genl_ops are no longer modified in place when registering, they can be made const. This patch was done mostly with spatch: @@ identifier ops; @@ +const struct genl_ops ops[] = { ... }; (except the struct thing in net/openvswitch/datapath.c) Signed-off-by: Johannes Berg Signed-off-by: David S. Miller --- Reading git-diff-tree failed