diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c index 7d748542d97ea4dc75551cce986b331bf5419020..76485a3f910bf00446131687c018ab8b044ca691 100644 --- a/net/core/net-sysfs.c +++ b/net/core/net-sysfs.c @@ -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, };