projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Driver core: Constify struct sysfs_ops in struct kobj_type
[linux-2.6-block.git]
/
net
/
bridge
/
br_sysfs_if.c
diff --git
a/net/bridge/br_sysfs_if.c
b/net/bridge/br_sysfs_if.c
index 696596cd3384b2ef86e16594f3b282452ab86866..0b9916489d6bf0c1eb61ec2048ddeb0472221923 100644
(file)
--- a/
net/bridge/br_sysfs_if.c
+++ b/
net/bridge/br_sysfs_if.c
@@
-238,7
+238,7
@@
static ssize_t brport_store(struct kobject * kobj,
return ret;
}
-struct sysfs_ops brport_sysfs_ops = {
+
const
struct sysfs_ops brport_sysfs_ops = {
.show = brport_show,
.store = brport_store,
};