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
/
platforms
/
83xx
/
suspend.c
diff --git
a/arch/powerpc/platforms/83xx/suspend.c
b/arch/powerpc/platforms/83xx/suspend.c
index
4380534
..
aa0b764
100644
(file)
--- a/
arch/powerpc/platforms/83xx/suspend.c
+++ b/
arch/powerpc/platforms/83xx/suspend.c
@@
-321,7
+321,7
@@
static struct platform_suspend_ops mpc83xx_suspend_ops = {
static int pmc_probe(struct of_device *ofdev,
const struct of_device_id *match)
{
- struct device_node *np = ofdev->node;
+ struct device_node *np = ofdev->
dev.of_
node;
struct resource res;
struct pmc_type *type = match->data;
int ret = 0;