summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-04-03 02:57:48 +0200
committerPaul Mackerras <paulus@samba.org>2007-04-12 19:55:18 +0200
commit9213feea6e197f8507ec855337798cc3388f5570 (patch)
treeda8015e33f1a242a050ef62603bdc53a7982441c /drivers/char
parent[POWERPC] Rename prom_n_addr_cells to of_n_addr_cells (diff)
downloadlinux-9213feea6e197f8507ec855337798cc3388f5570.tar.xz
linux-9213feea6e197f8507ec855337798cc3388f5570.zip
[POWERPC] Rename prom_n_size_cells to of_n_size_cells
This is more consistent and gets us closer to the Sparc code. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/tpm/tpm_atmel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm_atmel.h b/drivers/char/tpm/tpm_atmel.h
index 3501c0369d38..3c852009196e 100644
--- a/drivers/char/tpm/tpm_atmel.h
+++ b/drivers/char/tpm/tpm_atmel.h
@@ -54,7 +54,7 @@ static void __iomem * atmel_get_base_addr(unsigned long *base, int *region_size)
reg = get_property(dn, "reg", &reglen);
naddrc = of_n_addr_cells(dn);
- nsizec = prom_n_size_cells(dn);
+ nsizec = of_n_size_cells(dn);
of_node_put(dn);