]> git.baikalelectronics.ru Git - kernel.git/commit
net: constify netdev_class_file
authorstephen hemminger <stephen@networkplumber.org>
Fri, 18 Aug 2017 20:46:20 +0000 (13:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Aug 2017 05:37:12 +0000 (22:37 -0700)
commit95595c39ba42d1841f34ca5f2ced6a80a2d2aae3
tree0bf920a37fb93596630bd15241ae0711fc549b1c
parentd425445e134d791034aec1651cd9084b6b3fed4d
net: constify netdev_class_file

These functions are wrapper arount class_create_file which can take a
const attribute.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/net-sysfs.c