mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kylene Jo Hall <kjhall@us.ibm.com>
To: linuxppc64-dev@ozlabs.org
Cc: linux-kernel@vger.kernel.org, akpm@osdl.org,
	Jake Moilanen <moilanen@us.ibm.com>,
	Tom Lendacky <toml@us.ibm.com>
Subject: [PATCH 1 of 2] tpm: necessary PPC64 function exports
Date: Fri, 11 Nov 2005 14:06:33 -0600	[thread overview]
Message-ID: <1131739594.5048.14.camel@localhost.localdomain> (raw)

Some work is needed in the tpm device driver to discover the TPM out of
the device tree rather than based on set address on Power PPC.  This
patch exports a couple of functions for the parsing.

Signed-off-by: Kylene Hall <kjhall@us.ibm.com>
---

--- linux-2.6.14/arch/ppc64/kernel/prom.c.orig	2005-11-11 13:50:50.000000000 -0600
+++ linux-2.6.14/arch/ppc64/kernel/prom.c	2005-11-11 13:51:42.000000000 -0600
@@ -1261,6 +1261,7 @@ prom_n_addr_cells(struct device_node* np
 	/* No #address-cells property for the root node, default to 1 */
 	return 1;
 }
+EXPORT_SYMBOL_GPL(prom_n_addr_cells);
 
 int
 prom_n_size_cells(struct device_node* np)
@@ -1276,6 +1277,7 @@ prom_n_size_cells(struct device_node* np
 	/* No #size-cells property for the root node, default to 1 */
 	return 1;
 }
+EXPORT_SYMBOL_GPL(prom_n_size_cells);
 
 /**
  * Work out the sense (active-low level / active-high edge)



                 reply	other threads:[~2005-11-11 20:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1131739594.5048.14.camel@localhost.localdomain \
    --to=kjhall@us.ibm.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc64-dev@ozlabs.org \
    --cc=moilanen@us.ibm.com \
    --cc=toml@us.ibm.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®