diff -urN -X dontdiff linux-2.6.0-test4-orig/drivers/base/map.c linux-2.6.0-test4/drivers/base/map.c --- linux-2.6.0-test4-orig/drivers/base/map.c 2003-08-23 00:57:25.000000000 +0100 +++ linux-2.6.0-test4/drivers/base/map.c 2003-09-01 16:30:35.000000000 +0100 @@ -14,6 +14,7 @@ #include #include #include +#include struct kobj_map { struct probe { @@ -137,7 +138,7 @@ return NULL; } -struct kobj_map *kobj_map_init(kobj_probe_t *base_probe, +struct kobj_map * __init kobj_map_init(kobj_probe_t *base_probe, struct subsystem *s) { struct kobj_map *p = kmalloc(sizeof(struct kobj_map), GFP_KERNEL); diff -urN -X dontdiff linux-2.6.0-test4-orig/include/linux/kobj_map.h linux-2.6.0-test4/include/linux/kobj_map.h --- linux-2.6.0-test4-orig/include/linux/kobj_map.h 2003-08-23 00:58:08.000000000 +0100 +++ linux-2.6.0-test4/include/linux/kobj_map.h 2003-09-01 16:31:38.000000000 +0100 @@ -1,5 +1,7 @@ #ifdef __KERNEL__ +#include + typedef struct kobject *kobj_probe_t(dev_t, int *, void *); struct kobj_map; @@ -7,6 +9,6 @@ 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 subsystem *); +struct kobj_map * __init kobj_map_init(kobj_probe_t *, struct subsystem *); #endif