net: make rx_queue sysfs_ops const
authorstephen hemminger <shemminger@vyatta.com>
Tue, 31 Aug 2010 12:14:13 +0000 (12:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Sep 2010 01:12:20 +0000 (18:12 -0700)
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net-sysfs.c

index 7d748542d97ea4dc75551cce986b331bf5419020..76485a3f910bf00446131687c018ab8b044ca691 100644 (file)
@@ -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,
 };