xilinxfb.c (8dd06ef34b6e2f41b29fbf5fc1663780f2524285) xilinxfb.c (0b5e0f45af403cb6e9df574e1cb52691611dc0b8)
1/*
2 * Xilinx TFT frame buffer driver
3 *
4 * Author: MontaVista Software, Inc.
5 * source@mvista.com
6 *
7 * 2002-2007 (c) MontaVista Software, Inc.
8 * 2007 (c) Secret Lab Technologies, Ltd.

--- 458 unchanged lines hidden (view full) ---

467 if ((prop) && (size >= sizeof(u32) * 2)) {
468 pdata.xvirt = prop[0];
469 pdata.yvirt = prop[1];
470 }
471
472 if (of_find_property(pdev->dev.of_node, "rotate-display", NULL))
473 pdata.rotate_screen = 1;
474
1/*
2 * Xilinx TFT frame buffer driver
3 *
4 * Author: MontaVista Software, Inc.
5 * source@mvista.com
6 *
7 * 2002-2007 (c) MontaVista Software, Inc.
8 * 2007 (c) Secret Lab Technologies, Ltd.

--- 458 unchanged lines hidden (view full) ---

467 if ((prop) && (size >= sizeof(u32) * 2)) {
468 pdata.xvirt = prop[0];
469 pdata.yvirt = prop[1];
470 }
471
472 if (of_find_property(pdev->dev.of_node, "rotate-display", NULL))
473 pdata.rotate_screen = 1;
474
475 dev_set_drvdata(&pdev->dev, drvdata);
475 platform_set_drvdata(pdev, drvdata);
476 return xilinxfb_assign(pdev, drvdata, &pdata);
477}
478
479static int xilinxfb_of_remove(struct platform_device *op)
480{
481 return xilinxfb_release(&op->dev);
482}
483

--- 25 unchanged lines hidden ---
476 return xilinxfb_assign(pdev, drvdata, &pdata);
477}
478
479static int xilinxfb_of_remove(struct platform_device *op)
480{
481 return xilinxfb_release(&op->dev);
482}
483

--- 25 unchanged lines hidden ---