diff options
author | Paul Mackerras <paulus@samba.org> | 2005-11-14 01:30:40 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-14 01:30:40 -0500 |
commit | 1dfc6772097ef4eadd39a10ce44557c782d5058e (patch) | |
tree | 4427008f2f36c92ad7784d5f8fd2e2981f868ef3 /arch/powerpc/kernel | |
parent | 7568cb4ef6c507164b65b01f972a3bd026898ae1 (diff) |
powerpc: Export a couple of prom functions
These are needed by the TPM driver, apparently.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r-- | arch/powerpc/kernel/prom.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c index 6a5b468edb4d..3bf968e74095 100644 --- a/arch/powerpc/kernel/prom.c +++ b/arch/powerpc/kernel/prom.c | |||
@@ -1368,6 +1368,7 @@ prom_n_addr_cells(struct device_node* np) | |||
1368 | /* No #address-cells property for the root node, default to 1 */ | 1368 | /* No #address-cells property for the root node, default to 1 */ |
1369 | return 1; | 1369 | return 1; |
1370 | } | 1370 | } |
1371 | EXPORT_SYMBOL(prom_n_addr_cells); | ||
1371 | 1372 | ||
1372 | int | 1373 | int |
1373 | prom_n_size_cells(struct device_node* np) | 1374 | prom_n_size_cells(struct device_node* np) |
@@ -1383,6 +1384,7 @@ prom_n_size_cells(struct device_node* np) | |||
1383 | /* No #size-cells property for the root node, default to 1 */ | 1384 | /* No #size-cells property for the root node, default to 1 */ |
1384 | return 1; | 1385 | return 1; |
1385 | } | 1386 | } |
1387 | EXPORT_SYMBOL(prom_n_size_cells); | ||
1386 | 1388 | ||
1387 | /** | 1389 | /** |
1388 | * Work out the sense (active-low level / active-high edge) | 1390 | * Work out the sense (active-low level / active-high edge) |