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]
/
drivers
/
ata
/
pata_macio.c
diff --git
a/drivers/ata/pata_macio.c
b/drivers/ata/pata_macio.c
index
211b643
..
c74f13b
100644
(file)
--- a/
drivers/ata/pata_macio.c
+++ b/
drivers/ata/pata_macio.c
@@
-1139,7
+1139,7
@@
static int __devinit pata_macio_attach(struct macio_dev *mdev,
"Failed to allocate private memory\n");
return -ENOMEM;
}
- priv->node = of_node_get(mdev->ofdev.node);
+ priv->node = of_node_get(mdev->ofdev.
dev.of_
node);
priv->mdev = mdev;
priv->dev = &mdev->ofdev.dev;