]> 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)
commite4f176323c9c0f0adf991e7b8c80d19ce486dc50
tree0bf920a37fb93596630bd15241ae0711fc549b1c
parent7af9adad027ed2267aa1624a8215f2486fae9c19
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