lkml.org 
[lkml]   [2013]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 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. I have a series of patches on the linux-btrfs list that depend
on using kobj_sysfs_ops rather than re-implement them.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---

lib/kobject.c | 1 +
1 file changed, 1 insertion(+)

--- a/lib/kobject.c 2013-10-21 16:09:51.868220920 -0400
+++ b/lib/kobject.c 2013-10-21 16:10:00.216037635 -0400
@@ -726,6 +726,7 @@ const struct sysfs_ops kobj_sysfs_ops =
.show = kobj_attr_show,
.store = kobj_attr_store,
};
+EXPORT_SYMBOL_GPL(kobj_sysfs_ops);

/**
* kset_register - initialize and add a kset.


--
Jeff Mahoney
SUSE Labs


\
 
 \ /
  Last update: 2013-10-21 23:41    [W:0.033 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site