summaryrefslogtreecommitdiffstats
path: root/drivers/video/p9100.c
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2010-06-03 02:20:44 +0200
committerGrant Likely <grant.likely@secretlab.ca>2010-06-02 21:02:38 -0600
commitd4b8b2c2c0b980fa756267e43e39e5ac3c894857 (patch)
tree9036d479c79fed46b581c9519ca141fc26075afd /drivers/video/p9100.c
parent2005ce3521b7a38f12085e0420f405a8ee06f606 (diff)
downloadlinux-d4b8b2c2c0b980fa756267e43e39e5ac3c894857.tar.bz2
of/video: fix build breakage in FB drivers
Fixes build errors in a number of framebuffer drivers caused by the OF device_node pointer being moved into struct device Signed-off-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/video/p9100.c')
-rw-r--r--drivers/video/p9100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/p9100.c b/drivers/video/p9100.c
index c85dd408a9b8..6552751e81aa 100644
--- a/drivers/video/p9100.c
+++ b/drivers/video/p9100.c
@@ -251,7 +251,7 @@ static void p9100_init_fix(struct fb_info *info, int linebytes, struct device_no
static int __devinit p9100_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 p9100_par *par;
int linebytes, err;