Commit 0a6bca96 authored by Patrick Mochel's avatar Patrick Mochel

sysfs: fix warning.

From Andrew Morton
parent fb0e76c5
...@@ -226,6 +226,7 @@ int sysfs_create_bin_file(struct kobject * kobj, struct bin_attribute * attr) ...@@ -226,6 +226,7 @@ int sysfs_create_bin_file(struct kobject * kobj, struct bin_attribute * attr)
int sysfs_remove_bin_file(struct kobject * kobj, struct bin_attribute * attr) int sysfs_remove_bin_file(struct kobject * kobj, struct bin_attribute * attr)
{ {
sysfs_hash_and_remove(kobj->dentry,attr->attr.name); sysfs_hash_and_remove(kobj->dentry,attr->attr.name);
return 0;
} }
EXPORT_SYMBOL(sysfs_create_bin_file); EXPORT_SYMBOL(sysfs_create_bin_file);
......
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