net: make rx_queue sysfs_ops const
Subsystems (2)
PATCH 1/1 net: make rx_queue sysfs_ops const
Signed-off-by Stephen Hemminger <[email protected]>
net/core/net-sysfs.c +1 -1
@@ -515,7 +515,7 @@ static ssize_t rx_queue_attr_store(strucreturn 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, };
From: Stephen Hemminger <[email protected]>
Date: Tue, 31 Aug 2010 15:14:13 -0700
Quoted 2 lines
Signed-off-by Stephen Hemminger <[email protected]>
Applied.