LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Subject: export of_find_property
Date: Wed, 14 Feb 2007 16:54:31 -0500	[thread overview]
Message-ID: <20070214215431.GA21779@redhat.com> (raw)

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

             reply	other threads:[~2007-02-14 22:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-14 21:54 Dave Jones [this message]
2007-02-14 22:48 ` Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070214215431.GA21779@redhat.com \
    --to=davej@redhat.com \
    --cc=arnd@arndb.de \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: export of_find_property' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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