Commit ab09753f authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Fix !CONFIG_SYSFS build

From: Maneesh Soni <maneesh@in.ibm.com>

The sysfs_rename_dir() interface was changed recently but I forgot to
change the definition if CONFIG_SYSFS is not defined.
parent ddac3ee3
......@@ -80,9 +80,9 @@ static inline void sysfs_remove_dir(struct kobject * k)
;
}
static inline void sysfs_rename_dir(struct kobject * k, const char *new_name)
static inline int sysfs_rename_dir(struct kobject * k, const char *new_name)
{
;
return 0;
}
static inline int sysfs_create_file(struct kobject * k, const struct attribute * a)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment