]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - lib/kobject.c
Merge Paulus' tree
[karo-tx-linux.git] / lib / kobject.c
index dd0917dd9fa9df9274b24e6acbe3abddaa3b17ed..a181abed89f6f119687e5082208f8debe11dd383 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/string.h>
 #include <linux/module.h>
 #include <linux/stat.h>
+#include <linux/slab.h>
 
 /**
  *     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;