summaryrefslogtreecommitdiff
path: root/drivers/video/mb862xx/mb862xxfb.c
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2010-06-03 04:20:44 +0400
committerGrant Likely <grant.likely@secretlab.ca>2010-06-03 07:02:38 +0400
commitd4b8b2c2c0b980fa756267e43e39e5ac3c894857 (patch)
tree9036d479c79fed46b581c9519ca141fc26075afd /drivers/video/mb862xx/mb862xxfb.c
parent2005ce3521b7a38f12085e0420f405a8ee06f606 (diff)
downloadlinux-d4b8b2c2c0b980fa756267e43e39e5ac3c894857.tar.xz
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/mb862xx/mb862xxfb.c')
-rw-r--r--drivers/video/mb862xx/mb862xxfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/mb862xx/mb862xxfb.c b/drivers/video/mb862xx/mb862xxfb.c
index 0540de4f5cb4..4e2b8cc3d460 100644
--- a/drivers/video/mb862xx/mb862xxfb.c
+++ b/drivers/video/mb862xx/mb862xxfb.c
@@ -553,7 +553,7 @@ static int mb862xx_gdc_init(struct mb862xxfb_par *par)
static int __devinit of_platform_mb862xx_probe(struct of_device *ofdev,
const struct of_device_id *id)
{
- struct device_node *np = ofdev->node;
+ struct device_node *np = ofdev->dev.of_node;
struct device *dev = &ofdev->dev;
struct mb862xxfb_par *par;
struct fb_info *info;