mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
2eaa055fab
commit
29dfe2dc0e
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue