summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2013-11-01 13:06:56 -0400
committerChris Mason <clm@fb.com>2014-01-07 13:59:03 -0800
commita298dd768a7f3d3c3be12b03ab359a6aed62ce2c (patch)
tree395d9598db99d62937cfdc1db3f14ea81860a868 /lib
parent7d115f9ff6d04004aa6b5d1da5b516ca5c1f9268 (diff)
kobject: export kobj_sysfs_ops
struct kobj_attribute implements the baseline attribute functionality that can be used all over the place. We should export the ops associated with it. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/kobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/kobject.c b/lib/kobject.c
index 5b4b8886435e..03512a40a3ef 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -758,6 +758,7 @@ const struct sysfs_ops kobj_sysfs_ops = {
.show = kobj_attr_show,
.store = kobj_attr_store,
};
+EXPORT_SYMBOL_GPL(kobj_sysfs_ops);
/**
* kobj_completion_init - initialize a kobj_completion object.