Skip to contentSkip to conversation

net: make rx_queue sysfs_ops const

PATCH Applied Stephen Hemminger 2 participants 2 messages Aug 31, 2010 – Sep 2, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: make rx_queue sysfs_ops const

net/core/net-sysfs.c +1 -1
@@ -515,7 +515,7 @@ static ssize_t rx_queue_attr_store(struc
 	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,
 };