mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
735643ee6c
Remove the "#ifdef __KERNEL__" tests from unexported header files in linux/include whose entire contents are wrapped in that preprocessor test. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
10 lines
414 B
C
10 lines
414 B
C
#include <linux/mutex.h>
|
|
|
|
typedef struct kobject *kobj_probe_t(dev_t, int *, void *);
|
|
struct kobj_map;
|
|
|
|
int kobj_map(struct kobj_map *, dev_t, unsigned long, struct module *,
|
|
kobj_probe_t *, int (*)(dev_t, void *), void *);
|
|
void kobj_unmap(struct kobj_map *, dev_t, unsigned long);
|
|
struct kobject *kobj_lookup(struct kobj_map *, dev_t, int *);
|
|
struct kobj_map *kobj_map_init(kobj_probe_t *, struct mutex *);
|