From: Arjan van de Ven Date: Sun, 30 Oct 2011 06:46:30 +0000 (+0000) Subject: net: make the tcp and udp file_operations for the /proc stuff const X-Git-Tag: v3.2-rc1~68^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73cb88ecb950ee67906d02354f781ea293bcf895;p=pandora-kernel.git net: make the tcp and udp file_operations for the /proc stuff const the tcp and udp code creates a set of struct file_operations at runtime while it can also be done at compile time, with the added benefit of then having these file operations be const. the trickiest part was to get the "THIS_MODULE" reference right; the naive method of declaring a struct in the place of registration would not work for this reason. Signed-off-by: Arjan van de Ven Signed-off-by: David S. Miller --- Reading git-diff-tree failed