aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorKylene Jo Hall <kjhall@us.ibm.com>2005-11-13 19:07:41 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-13 21:14:17 -0500
commitc0131c143204ee0ba00592c016f20ce6fc67827d (patch)
tree088be5ed10bbe142c78d1d30a5f6c5b6a94b2985 /arch
parent36174494b64ec0f6c2593af12d1cec97c9754192 (diff)
[PATCH] tpm: necessary PPC64 function exports
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> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/ppc64/kernel/prom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/ppc64/kernel/prom.c b/arch/ppc64/kernel/prom.c
index fbad2c360784..47cc26e78957 100644
--- a/arch/ppc64/kernel/prom.c
+++ b/arch/ppc64/kernel/prom.c
@@ -1261,6 +1261,7 @@ prom_n_addr_cells(struct device_node* np)
1261 /* No #address-cells property for the root node, default to 1 */ 1261 /* No #address-cells property for the root node, default to 1 */
1262 return 1; 1262 return 1;
1263} 1263}
1264EXPORT_SYMBOL_GPL(prom_n_addr_cells);
1264 1265
1265int 1266int
1266prom_n_size_cells(struct device_node* np) 1267prom_n_size_cells(struct device_node* np)
@@ -1276,6 +1277,7 @@ prom_n_size_cells(struct device_node* np)
1276 /* No #size-cells property for the root node, default to 1 */ 1277 /* No #size-cells property for the root node, default to 1 */
1277 return 1; 1278 return 1;
1278} 1279}
1280EXPORT_SYMBOL_GPL(prom_n_size_cells);
1279 1281
1280/** 1282/**
1281 * Work out the sense (active-low level / active-high edge) 1283 * Work out the sense (active-low level / active-high edge)