summaryrefslogtreecommitdiffstats
path: root/lib/kobject.c
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2013-11-01 18:06:56 +0100
committerChris Mason <clm@fb.com>2014-01-28 22:19:24 +0100
commit29dfe2dc0e8f85c5656d13bb4c78a5ffca54c452 (patch)
tree5dbdb8337432dae577a89f3be27e6d42c5c810ee /lib/kobject.c
parentbtrfs: add ioctls to query/change feature bits online (diff)
downloadlinux-29dfe2dc0e8f85c5656d13bb4c78a5ffca54c452.tar.xz
linux-29dfe2dc0e8f85c5656d13bb4c78a5ffca54c452.zip
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.