diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-08-31 08:14:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-01 21:12:20 -0400 |
commit | fa50d6457691d5c2d8a3430abf950435ef129cf1 (patch) | |
tree | aeb475912c46e936b89e85e955215ec5b1e9e620 /net/core | |
parent | 6267300e979e0fa912d871c7727c168bf3dbb37a (diff) |
net: make rx_queue sysfs_ops const
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/net-sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c index 7d748542d97e..76485a3f910b 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, | |||
515 | return attribute->store(queue, attribute, buf, count); | 515 | return attribute->store(queue, attribute, buf, count); |
516 | } | 516 | } |
517 | 517 | ||
518 | static struct sysfs_ops rx_queue_sysfs_ops = { | 518 | static const struct sysfs_ops rx_queue_sysfs_ops = { |
519 | .show = rx_queue_attr_show, | 519 | .show = rx_queue_attr_show, |
520 | .store = rx_queue_attr_store, | 520 | .store = rx_queue_attr_store, |
521 | }; | 521 | }; |