]> git.karo-electronics.de Git - linux-beck.git/commit
batman-adv: Mark batadv_netlink_ops as const
authorSven Eckelmann <sven@narfation.org>
Tue, 18 Oct 2016 13:57:36 +0000 (15:57 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Sun, 30 Oct 2016 10:11:32 +0000 (11:11 +0100)
commitce1a21d1422647d7750b569d714efcbd8650b934
tree3611e55e270cd8d7a8a1c0b30d45bb226d3957f6
parent9bcb94c8617e1c3ccabcda5ebb4f18c64a74ab6d
batman-adv: Mark batadv_netlink_ops as const

The genl_ops don't need to be written by anyone and thus can be moved in a
ro memory range.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/netlink.c