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
/
char
/
hw_random
/
pasemi-rng.c
diff --git
a/drivers/char/hw_random/pasemi-rng.c
b/drivers/char/hw_random/pasemi-rng.c
index
7fa61dd
..
b213855
100644
(file)
--- a/
drivers/char/hw_random/pasemi-rng.c
+++ b/
drivers/char/hw_random/pasemi-rng.c
@@
-98,7
+98,7
@@
static int __devinit rng_probe(struct of_device *ofdev,
const struct of_device_id *match)
{
void __iomem *rng_regs;
- struct device_node *rng_np = ofdev->node;
+ struct device_node *rng_np = ofdev->
dev.of_
node;
struct resource res;
int err = 0;