projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6267300
)
net: make rx_queue sysfs_ops const
author
stephen hemminger
<shemminger@vyatta.com>
Tue, 31 Aug 2010 12:14:13 +0000
(12:14 +0000)
committer
David 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
patch
|
blob
|
history
diff --git
a/net/core/net-sysfs.c
b/net/core/net-sysfs.c
index 7d748542d97ea4dc75551cce986b331bf5419020..76485a3f910bf00446131687c018ab8b044ca691 100644
(file)
--- 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,
};