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
/
mtd
/
nand
/
pasemi_nand.c
diff --git
a/drivers/mtd/nand/pasemi_nand.c
b/drivers/mtd/nand/pasemi_nand.c
index
a8b9376
..
edfc27b
100644
(file)
--- a/
drivers/mtd/nand/pasemi_nand.c
+++ b/
drivers/mtd/nand/pasemi_nand.c
@@
-93,7
+93,7
@@
static int __devinit pasemi_nand_probe(struct of_device *ofdev,
const struct of_device_id *match)
{
struct pci_dev *pdev;
- struct device_node *np = ofdev->node;
+ struct device_node *np = ofdev->
dev.of_
node;
struct resource res;
struct nand_chip *chip;
int err = 0;