fix return value for sysfs_rename_dir stub
PATCH 1/1 fix return value for sysfs_rename_dir stub
sysfs_rename_dir changed to return a value. The stub was not updated. This causes compile failure for !CONFIG_SYSFS in lib/kobject.c
include/linux/sysfs.h +2 -2
@@ -80,9 +80,9 @@ ; } -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)