Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

kernel/resource.c: move EXPORT_SYMBOL right after definition

EXPORT_SYMBOL(adjust_resource) should be right after adjust_resource().

Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information...
commit 241057486646dd42278538218376c79aae2c359f 1 parent 7ce6e52
Cong Wang congwang authored Jiri Kosina committed

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. +1 2  kernel/resource.c
3  kernel/resource.c
@@ -749,6 +749,7 @@ int adjust_resource(struct resource *res, resource_size_t start, resource_size_t
749 749 write_unlock(&resource_lock);
750 750 return result;
751 751 }
  752 +EXPORT_SYMBOL(adjust_resource);
752 753
753 754 static void __init __reserve_region_with_split(struct resource *root,
754 755 resource_size_t start, resource_size_t end,
@@ -792,8 +793,6 @@ void __init reserve_region_with_split(struct resource *root,
792 793 write_unlock(&resource_lock);
793 794 }
794 795
795   -EXPORT_SYMBOL(adjust_resource);
796   -
797 796 /**
798 797 * resource_alignment - calculate resource's alignment
799 798 * @res: resource pointer

0 comments on commit 2410574

Please sign in to comment.
Something went wrong with that request. Please try again.