]> err.no Git - linux-2.6/commitdiff
[POWERPC] Export of_find_property
authorDave Jones <davej@redhat.com>
Wed, 14 Feb 2007 21:54:31 +0000 (16:54 -0500)
committerPaul Mackerras <paulus@samba.org>
Fri, 16 Feb 2007 03:00:20 +0000 (14:00 +1100)
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 <davej@redhat.com>
Acked-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom.c

index 3e86e6e0f7782d436f8c9e57d9b59f461270633f..8d52b23348bd0b6cb2322fc9f87d626914268a51 100644 (file)
@@ -1599,6 +1599,7 @@ struct property *of_find_property(const struct device_node *np,
 
        return pp;
 }
+EXPORT_SYMBOL(of_find_property);
 
 /*
  * Find a property with a given name for a given node