X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Fkobject.c;h=a181abed89f6f119687e5082208f8debe11dd383;hb=018d1c667ef4dce5299dd79d38447840789c97d6;hp=dd0917dd9fa9df9274b24e6acbe3abddaa3b17ed;hpb=5696c1944a33b4434a9a1ebb6383b906afd43a10;p=linux-2.6-omap-h63xx.git diff --git a/lib/kobject.c b/lib/kobject.c index dd0917dd9fa..a181abed89f 100644 --- a/lib/kobject.c +++ b/lib/kobject.c @@ -14,6 +14,7 @@ #include #include #include +#include /** * populate_dir - populate directory with attributes. @@ -100,7 +101,7 @@ static void fill_kobj_path(struct kobject *kobj, char *path, int length) * @kobj: kobject in question, with which to build the path * @gfp_mask: the allocation type used to allocate the path */ -char *kobject_get_path(struct kobject *kobj, int gfp_mask) +char *kobject_get_path(struct kobject *kobj, gfp_t gfp_mask) { char *path; int len;