diff options
| author | Paul Mackerras <paulus@samba.org> | 2005-10-30 21:37:12 -0500 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2005-10-30 21:37:12 -0500 |
| commit | 23fd07750a789a66fe88cf173d52a18f1a387da4 (patch) | |
| tree | 06fdd6df35fdb835abdaa9b754d62f6b84b97250 /lib/kobject.c | |
| parent | bd787d438a59266af3c9f6351644c85ef1dd21fe (diff) | |
| parent | ed28f96ac1960f30f818374d65be71d2fdf811b0 (diff) | |
Merge ../linux-2.6 by hand
Diffstat (limited to 'lib/kobject.c')
| -rw-r--r-- | lib/kobject.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/kobject.c b/lib/kobject.c index dd0917dd9fa9..a181abed89f6 100644 --- a/lib/kobject.c +++ b/lib/kobject.c | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | #include <linux/string.h> | 14 | #include <linux/string.h> |
| 15 | #include <linux/module.h> | 15 | #include <linux/module.h> |
| 16 | #include <linux/stat.h> | 16 | #include <linux/stat.h> |
| 17 | #include <linux/slab.h> | ||
| 17 | 18 | ||
| 18 | /** | 19 | /** |
| 19 | * populate_dir - populate directory with attributes. | 20 | * populate_dir - populate directory with attributes. |
| @@ -100,7 +101,7 @@ static void fill_kobj_path(struct kobject *kobj, char *path, int length) | |||
| 100 | * @kobj: kobject in question, with which to build the path | 101 | * @kobj: kobject in question, with which to build the path |
| 101 | * @gfp_mask: the allocation type used to allocate the path | 102 | * @gfp_mask: the allocation type used to allocate the path |
| 102 | */ | 103 | */ |
| 103 | char *kobject_get_path(struct kobject *kobj, int gfp_mask) | 104 | char *kobject_get_path(struct kobject *kobj, gfp_t gfp_mask) |
| 104 | { | 105 | { |
| 105 | char *path; | 106 | char *path; |
| 106 | int len; | 107 | int len; |
