X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fkobject.c;h=253d3004ace90edae789bb23f16c2919a4e6830c;hb=1753298947afe5eb56da755bc057f1868f345ec1;hp=94048826624ccd230cd213ce8c14ddea0d6ab191;hpb=325a479c4c110db278ef3361460a48c4093252cc;p=linux-2.6 diff --git a/lib/kobject.c b/lib/kobject.c index 9404882662..253d3004ac 100644 --- a/lib/kobject.c +++ b/lib/kobject.c @@ -100,7 +100,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; @@ -279,7 +279,7 @@ EXPORT_SYMBOL(kobject_set_name); * @new_name: object's new name */ -int kobject_rename(struct kobject * kobj, char *new_name) +int kobject_rename(struct kobject * kobj, const char *new_name) { int error = 0;