summaryrefslogtreecommitdiff
path: root/lib/kobject.c
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2013-11-01 13:06:56 -0400
committerChris Mason <clm@fb.com>2014-01-28 13:19:24 -0800
commit29dfe2dc0e8f85c5656d13bb4c78a5ffca54c452 (patch)
tree5dbdb8337432dae577a89f3be27e6d42c5c810ee /lib/kobject.c
parent2eaa055fab4e3127c9f572fda1b710cbb2acdf1c (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/kobject.c')
-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.