]> err.no Git - linux-2.6/commitdiff
powerpc: Export a couple of prom functions
authorPaul Mackerras <paulus@samba.org>
Mon, 14 Nov 2005 06:30:40 +0000 (17:30 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 14 Nov 2005 06:30:40 +0000 (17:30 +1100)
These are needed by the TPM driver, apparently.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom.c

index 6a5b468edb4d2e8021d6fc07807e3a4a6cb8fbb6..3bf968e740950bf041d65dff2b01c0795e94a153 100644 (file)
@@ -1368,6 +1368,7 @@ prom_n_addr_cells(struct device_node* np)
        /* No #address-cells property for the root node, default to 1 */
        return 1;
 }
+EXPORT_SYMBOL(prom_n_addr_cells);
 
 int
 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 */
        return 1;
 }
+EXPORT_SYMBOL(prom_n_size_cells);
 
 /**
  * Work out the sense (active-low level / active-high edge)