summaryrefslogtreecommitdiffstats
path: root/kernel/resource.c
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2012-02-03 14:42:39 +0100
committerJiri Kosina <jkosina@suse.cz>2012-02-03 23:37:07 +0100
commit241057486646dd42278538218376c79aae2c359f (patch)
treeb5857eb8f9c9ca9c6f2a00f0a4e7f10011285862 /kernel/resource.c
parentnet: fix printk typo in ipw2x00/libipw_rx.c (diff)
downloadlinux-241057486646dd42278538218376c79aae2c359f.tar.xz
linux-241057486646dd42278538218376c79aae2c359f.zip
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>
Diffstat (limited to 'kernel/resource.c')
-rw-r--r--kernel/resource.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/resource.c b/kernel/resource.c
index 7640b3a947d0..7e8ea66a8c01 100644
--- a/kernel/resource.c
+++ b/kernel/resource.c
@@ -749,6 +749,7 @@ int adjust_resource(struct resource *res, resource_size_t start, resource_size_t
write_unlock(&resource_lock);
return result;
}
+EXPORT_SYMBOL(adjust_resource);
static void __init __reserve_region_with_split(struct resource *root,
resource_size_t start, resource_size_t end,
@@ -792,8 +793,6 @@ void __init reserve_region_with_split(struct resource *root,
write_unlock(&resource_lock);
}
-EXPORT_SYMBOL(adjust_resource);
-
/**
* resource_alignment - calculate resource's alignment
* @res: resource pointer