forked from Minki/linux
net: make rx_queue sysfs_ops const
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6267300e97
commit
fa50d64576
@ -515,7 +515,7 @@ static ssize_t rx_queue_attr_store(struct kobject *kobj, struct attribute *attr,
|
||||
return attribute->store(queue, attribute, buf, count);
|
||||
}
|
||||
|
||||
static struct sysfs_ops rx_queue_sysfs_ops = {
|
||||
static const struct sysfs_ops rx_queue_sysfs_ops = {
|
||||
.show = rx_queue_attr_show,
|
||||
.store = rx_queue_attr_store,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user