diff options
Diffstat (limited to 'fs/sysfs/bin.c')
-rw-r--r-- | fs/sysfs/bin.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/sysfs/bin.c b/fs/sysfs/bin.c index 15c68f9489ae..745f57f7d089 100644 --- a/fs/sysfs/bin.c +++ b/fs/sysfs/bin.c | |||
@@ -481,7 +481,6 @@ void unmap_bin_file(struct sysfs_dirent *attr_sd) | |||
481 | * @kobj: object. | 481 | * @kobj: object. |
482 | * @attr: attribute descriptor. | 482 | * @attr: attribute descriptor. |
483 | */ | 483 | */ |
484 | |||
485 | int sysfs_create_bin_file(struct kobject *kobj, | 484 | int sysfs_create_bin_file(struct kobject *kobj, |
486 | const struct bin_attribute *attr) | 485 | const struct bin_attribute *attr) |
487 | { | 486 | { |
@@ -489,19 +488,16 @@ int sysfs_create_bin_file(struct kobject *kobj, | |||
489 | 488 | ||
490 | return sysfs_add_file(kobj->sd, &attr->attr, SYSFS_KOBJ_BIN_ATTR); | 489 | return sysfs_add_file(kobj->sd, &attr->attr, SYSFS_KOBJ_BIN_ATTR); |
491 | } | 490 | } |
492 | 491 | EXPORT_SYMBOL_GPL(sysfs_create_bin_file); | |
493 | 492 | ||
494 | /** | 493 | /** |
495 | * sysfs_remove_bin_file - remove binary file for object. | 494 | * sysfs_remove_bin_file - remove binary file for object. |
496 | * @kobj: object. | 495 | * @kobj: object. |
497 | * @attr: attribute descriptor. | 496 | * @attr: attribute descriptor. |
498 | */ | 497 | */ |
499 | |||
500 | void sysfs_remove_bin_file(struct kobject *kobj, | 498 | void sysfs_remove_bin_file(struct kobject *kobj, |
501 | const struct bin_attribute *attr) | 499 | const struct bin_attribute *attr) |
502 | { | 500 | { |
503 | sysfs_hash_and_remove(kobj->sd, NULL, attr->attr.name); | 501 | sysfs_hash_and_remove(kobj->sd, NULL, attr->attr.name); |
504 | } | 502 | } |
505 | |||
506 | EXPORT_SYMBOL_GPL(sysfs_create_bin_file); | ||
507 | EXPORT_SYMBOL_GPL(sysfs_remove_bin_file); | 503 | EXPORT_SYMBOL_GPL(sysfs_remove_bin_file); |