kobject: export kobj_sysfs_ops
authorJeff Mahoney <jeffm@suse.com>
Fri, 1 Nov 2013 17:06:56 +0000 (13:06 -0400)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:19:24 +0000 (13:19 -0800)
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>
lib/kobject.c

index 5b4b8886435ec77c7f51ff0221b3bc01558e5798..03512a40a3ef9e93387a3217617bc8f9927ebcbe 100644 (file)
@@ -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.