git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
of: Always use 'struct device.of_node' to get device node pointer.
[safe/jmp/linux-2.6]
/
arch
/
powerpc
/
sysdev
/
fsl_pmc.c
diff --git
a/arch/powerpc/sysdev/fsl_pmc.c
b/arch/powerpc/sysdev/fsl_pmc.c
index
a7635a9
..
2ebe817
100644
(file)
--- a/
arch/powerpc/sysdev/fsl_pmc.c
+++ b/
arch/powerpc/sysdev/fsl_pmc.c
@@
-60,7
+60,7
@@
static struct platform_suspend_ops pmc_suspend_ops = {
static int pmc_probe(struct of_device *ofdev, const struct of_device_id *id)
{
- pmc_regs = of_iomap(ofdev->node, 0);
+ pmc_regs = of_iomap(ofdev->
dev.of_
node, 0);
if (!pmc_regs)
return -ENOMEM;