Without this, building drivers/serial/of_serial.c as a module fails.

WARNING: ".of_find_property" [drivers/serial/of_serial.ko] undefined!

Signed-off-by: Dave Jones <[EMAIL PROTECTED]>

--- linux-2.6.20.noarch/arch/powerpc/kernel/prom.c~     2007-02-14 
16:52:47.000000000 -0500
+++ linux-2.6.20.noarch/arch/powerpc/kernel/prom.c      2007-02-14 
16:52:57.000000000 -0500
@@ -1599,6 +1599,7 @@ struct property *of_find_property(const 
 
        return pp;
 }
+EXPORT_SYMBOL(of_find_property);
 
 /*
  * Find a property with a given name for a given node

-- 
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to