projects
/
linux-2.6-block.git
/ 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.
[linux-2.6-block.git]
/
arch
/
powerpc
/
sysdev
/
fsl_pmc.c
diff --git
a/arch/powerpc/sysdev/fsl_pmc.c
b/arch/powerpc/sysdev/fsl_pmc.c
index a7635a993dca545c144c3183201337f89997eaa1..2ebe817ca72fcaab6919317655e672a58b2a9a7c 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;