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
/
sparc
/
kernel
/
time_32.c
diff --git
a/arch/sparc/kernel/time_32.c
b/arch/sparc/kernel/time_32.c
index
0d4c09b
..
e0dbed9
100644
(file)
--- a/
arch/sparc/kernel/time_32.c
+++ b/
arch/sparc/kernel/time_32.c
@@
-152,7
+152,7
@@
static struct platform_device m48t59_rtc = {
static int __devinit clock_probe(struct of_device *op, const struct of_device_id *match)
{
- struct device_node *dp = op->node;
+ struct device_node *dp = op->
dev.of_
node;
const char *model = of_get_property(dp, "model", NULL);
if (!model)