summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hisax
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@linux.intel.com>2011-10-30 07:46:30 +0100
committerDavid S. Miller <davem@davemloft.net>2011-11-01 22:56:14 +0100
commit73cb88ecb950ee67906d02354f781ea293bcf895 (patch)
treefbb4a777410d5a5653537bcd3ee7e954bc9ba5a0 /drivers/isdn/hisax
parentbonding:update speed/duplex for NETDEV_CHANGE (diff)
downloadlinux-73cb88ecb950ee67906d02354f781ea293bcf895.tar.xz
linux-73cb88ecb950ee67906d02354f781ea293bcf895.zip
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 <arjan@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/hisax')
0 files changed, 0 insertions, 0 deletions