summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@debian.org>2008-09-14 17:28:51 -0400
committerAndres Salomon <dilinger@debian.org>2008-09-14 17:28:51 -0400
commitd76ed0ecb6d45c4bcd410683c4e4ed9901d4166f (patch)
treefa002f868a3d5b5b08ac84d61789a80d86b2955c
parentd709b84106a3d7877730b1366a3fd8b46aceb093 (diff)
downloadlwn-d76ed0ecb6d45c4bcd410683c4e4ed9901d4166f.tar.gz
lwn-d76ed0ecb6d45c4bcd410683c4e4ed9901d4166f.zip
OLPC: allow promfs to be built as a module
Signed-off-by: Andres Salomon <dilinger@debian.org>
-rw-r--r--arch/x86/kernel/prom.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/prom.c b/arch/x86/kernel/prom.c
index d64bb276f27b..06bd9ede847b 100644
--- a/arch/x86/kernel/prom.c
+++ b/arch/x86/kernel/prom.c
@@ -453,7 +453,7 @@ static struct device_node * __init build_tree(struct device_node *parent, phandl
static phandle root_node;
-void __init prom_build_devicetree(void)
+void prom_build_devicetree(void)
{
struct device_node **nextp;
u32 child;
@@ -476,3 +476,4 @@ void __init prom_build_devicetree(void)
printk("PROM: Built device tree with %u bytes of memory.\n",
prom_early_allocated);
}
+EXPORT_SYMBOL_GPL(prom_build_devicetree);