Commit 1dfc6772 authored by Paul Mackerras's avatar Paul Mackerras

powerpc: Export a couple of prom functions

These are needed by the TPM driver, apparently.
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 7568cb4e
...@@ -1368,6 +1368,7 @@ prom_n_addr_cells(struct device_node* np) ...@@ -1368,6 +1368,7 @@ prom_n_addr_cells(struct device_node* np)
/* No #address-cells property for the root node, default to 1 */ /* No #address-cells property for the root node, default to 1 */
return 1; return 1;
} }
EXPORT_SYMBOL(prom_n_addr_cells);
int int
prom_n_size_cells(struct device_node* np) prom_n_size_cells(struct device_node* np)
...@@ -1383,6 +1384,7 @@ prom_n_size_cells(struct device_node* np) ...@@ -1383,6 +1384,7 @@ prom_n_size_cells(struct device_node* np)
/* No #size-cells property for the root node, default to 1 */ /* No #size-cells property for the root node, default to 1 */
return 1; return 1;
} }
EXPORT_SYMBOL(prom_n_size_cells);
/** /**
* Work out the sense (active-low level / active-high edge) * Work out the sense (active-low level / active-high edge)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment