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>
This commit is contained in:

committed by
Grant Likely

parent
2005ce3521
commit
d4b8b2c2c0
@@ -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;
|
||||
|
Reference in New Issue
Block a user