Disable ioctls that require BTAs.
diff --git a/drivers/video/omap2/displays/panel-tonka.c b/drivers/video/omap2/displays/panel-tonka.c
index ff667ff..dfbb485 100644
--- a/drivers/video/omap2/displays/panel-tonka.c
+++ b/drivers/video/omap2/displays/panel-tonka.c
@@ -1852,6 +1852,7 @@
return r;
}
+#ifndef BROKEN_TUNNEL_ASYMMETRIC
static int tonka_run_test(struct omap_dss_device *dssdev, int test_num)
{
struct tonka_data *td = dev_get_drvdata(&dssdev->dev);
@@ -1967,7 +1968,6 @@
return r;
}
-#ifndef BROKEN_TUNNEL_ASYMMETRIC
static void tonka_ulps_work(struct work_struct *work)
{
struct tonka_data *td = container_of(work, struct tonka_data,
@@ -2105,8 +2105,10 @@
.get_rotate = tonka_get_rotate,
.set_mirror = tonka_mirror,
.get_mirror = tonka_get_mirror,
+#ifndef BROKEN_TUNNEL_ASYMMETRIC
.run_test = tonka_run_test,
.memory_read = tonka_memory_read,
+#endif
.get_timings = tonka_get_timings,