kobject/kset symbols not exported

From: Erik Hugne
Date: Mon Dec 12 2011 - 11:28:17 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/