aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/omapfb/omapfb-ioctl.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@nokia.com>2010-01-08 09:21:28 -0500
committerTomi Valkeinen <tomi.valkeinen@nokia.com>2010-02-24 07:31:26 -0500
commit1a75ef422d0d1319bc0fab66b0bf339069519d8c (patch)
treeb79c0ec7e84912c87d92e6a6aef0cfeb800d1270 /drivers/video/omap2/omapfb/omapfb-ioctl.c
parent1bbb275e261eb204795d4a48b3e485f2ad3d627c (diff)
OMAP: DSS2: move run_test()
Move run_test() from omap_dss_device to omap_dss_driver. This is part of a larger patch-set, which moves the control from omapdss driver to the display driver. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Diffstat (limited to 'drivers/video/omap2/omapfb/omapfb-ioctl.c')
-rw-r--r--drivers/video/omap2/omapfb/omapfb-ioctl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/omap2/omapfb/omapfb-ioctl.c b/drivers/video/omap2/omapfb/omapfb-ioctl.c
index 33fc1459a7c9..6dc9b5c587a5 100644
--- a/drivers/video/omap2/omapfb/omapfb-ioctl.c
+++ b/drivers/video/omap2/omapfb/omapfb-ioctl.c
@@ -670,12 +670,12 @@ int omapfb_ioctl(struct fb_info *fbi, unsigned int cmd, unsigned long arg)
670 r = -EFAULT; 670 r = -EFAULT;
671 break; 671 break;
672 } 672 }
673 if (!display || !display->run_test) { 673 if (!display || !display->driver->run_test) {
674 r = -EINVAL; 674 r = -EINVAL;
675 break; 675 break;
676 } 676 }
677 677
678 r = display->run_test(display, p.test_num); 678 r = display->driver->run_test(display, p.test_num);
679 679
680 break; 680 break;
681 681
@@ -685,12 +685,12 @@ int omapfb_ioctl(struct fb_info *fbi, unsigned int cmd, unsigned long arg)
685 r = -EFAULT; 685 r = -EFAULT;
686 break; 686 break;
687 } 687 }
688 if (!display || !display->run_test) { 688 if (!display || !display->driver->run_test) {
689 r = -EINVAL; 689 r = -EINVAL;
690 break; 690 break;
691 } 691 }
692 692
693 r = display->run_test(display, p.test_num); 693 r = display->driver->run_test(display, p.test_num);
694 694
695 break; 695 break;
696 696