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>
This commit is contained in:
@@ -670,12 +670,12 @@ int omapfb_ioctl(struct fb_info *fbi, unsigned int cmd, unsigned long arg)
|
||||
r = -EFAULT;
|
||||
break;
|
||||
}
|
||||
if (!display || !display->run_test) {
|
||||
if (!display || !display->driver->run_test) {
|
||||
r = -EINVAL;
|
||||
break;
|
||||
}
|
||||
|
||||
r = display->run_test(display, p.test_num);
|
||||
r = display->driver->run_test(display, p.test_num);
|
||||
|
||||
break;
|
||||
|
||||
@@ -685,12 +685,12 @@ int omapfb_ioctl(struct fb_info *fbi, unsigned int cmd, unsigned long arg)
|
||||
r = -EFAULT;
|
||||
break;
|
||||
}
|
||||
if (!display || !display->run_test) {
|
||||
if (!display || !display->driver->run_test) {
|
||||
r = -EINVAL;
|
||||
break;
|
||||
}
|
||||
|
||||
r = display->run_test(display, p.test_num);
|
||||
r = display->driver->run_test(display, p.test_num);
|
||||
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user