Skip to contentSkip to conversation

kobject/kset symbols not exported

DISCUSSION Erik Hugne 1 participant 1 message Dec 12, 2011 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Erik Hugne

author
#1 lore raw

The top level module_kset, defined at:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=include/linux/module.h;h=3cb7839a60b96ffc6e4fe9b28d0ddf491275b2f6;hb=HEAD#l630

Does not have a symbol exported at:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=kernel/params.c;h=65aae11eb93f1fab5a4673ca9e9d4df9f2582e8e;hb=HEAD#l908

The same applies to two kobject related functions:

extern struct kobject *kset_find_obj(struct kset *, const char *); extern struct kobject *kset_find_obj_hinted(struct kset *, const char *, struct kobject *);

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=include/linux/kobject.h;h=ad81e1c51487def091ffea196d36c1ee005f7698;hb=HEAD#l193

This makes them inaccessible to modules. Is this intentional?

//E