LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* export of_find_property
@ 2007-02-14 21:54 Dave Jones
  2007-02-14 22:48 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Jones @ 2007-02-14 21:54 UTC (permalink / raw)
  To: Linux Kernel; +Cc: Arnd Bergmann

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>

--- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: export of_find_property
  2007-02-14 21:54 export of_find_property Dave Jones
@ 2007-02-14 22:48 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2007-02-14 22:48 UTC (permalink / raw)
  To: Dave Jones; +Cc: Linux Kernel

On Wednesday 14 February 2007 22:54, Dave Jones wrote:
> 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>

Sorry about that one. This was introduced by a last-minute change,
and I didn't retest building as a module with it.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-14 22:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-14 21:54 export of_find_property Dave Jones
2007-02-14 22:48 ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).