Commit fa50d645 authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller

net: make rx_queue sysfs_ops const

Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6267300e
...@@ -515,7 +515,7 @@ static ssize_t rx_queue_attr_store(struct kobject *kobj, struct attribute *attr, ...@@ -515,7 +515,7 @@ static ssize_t rx_queue_attr_store(struct kobject *kobj, struct attribute *attr,
return attribute->store(queue, attribute, buf, count); 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, .show = rx_queue_attr_show,
.store = rx_queue_attr_store, .store = rx_queue_attr_store,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment