diff options
author | 2010-06-03 02:20:44 +0200 | |
---|---|---|
committer | 2010-06-02 21:02:38 -0600 | |
commit | d4b8b2c2c0b980fa756267e43e39e5ac3c894857 (patch) | |
tree | 9036d479c79fed46b581c9519ca141fc26075afd /drivers/video/tcx.c | |
parent | of/pcmcia: m8xx_pcmcia.c: Fix build failures (diff) | |
download | linux-d4b8b2c2c0b980fa756267e43e39e5ac3c894857.tar.gz linux-d4b8b2c2c0b980fa756267e43e39e5ac3c894857.tar.bz2 linux-d4b8b2c2c0b980fa756267e43e39e5ac3c894857.zip |
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/tcx.c')
-rw-r--r-- | drivers/video/tcx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/tcx.c b/drivers/video/tcx.c index ef7a7bd8b503..cc039b33d2d8 100644 --- a/drivers/video/tcx.c +++ b/drivers/video/tcx.c @@ -365,7 +365,7 @@ static void tcx_unmap_regs(struct of_device *op, struct fb_info *info, static int __devinit tcx_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 tcx_par *par; int linebytes, i, err; |