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
/
video
/
cg6.c
diff --git
a/drivers/video/cg6.c
b/drivers/video/cg6.c
index
6d0fcb4
..
7f59b0f
100644
(file)
--- a/
drivers/video/cg6.c
+++ b/
drivers/video/cg6.c
@@
-740,7
+740,7
@@
static void cg6_unmap_regs(struct of_device *op, struct fb_info *info,
static int __devinit cg6_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;
struct fb_info *info;
struct cg6_par *par;
int linebytes, err;