Skip to content

Commit

Permalink
kobject: export kobj_sysfs_ops
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
  • Loading branch information
jeffmahoney authored and masoncl committed Jan 28, 2014
1 parent 2eaa055 commit 29dfe2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/kobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 29dfe2d

Please sign in to comment.