Got stuff to compile. Tested; back camera still works.
diff --git a/.config b/.config
index 4ccebad..e364ee2 100644
--- a/.config
+++ b/.config
@@ -2129,7 +2129,7 @@
 # CONFIG_VIDEO_OMAP2_VOUT is not set
 CONFIG_VIDEO_OMAP3=y
 # CONFIG_VIDEO_OMAP3_DEBUG is not set
-CONFIG_VIDEO_BUS_SWITCH=y
+# CONFIG_VIDEO_BUS_SWITCH is not set
 # CONFIG_SOC_CAMERA is not set
 # CONFIG_VIDEO_XILINX is not set
 # CONFIG_V4L_MEM2MEM_DRIVERS is not set
diff --git a/drivers/media/platform/omap3isp/ispccp2.c b/drivers/media/platform/omap3isp/ispccp2.c
index c36b6f8..d758fc3 100644
--- a/drivers/media/platform/omap3isp/ispccp2.c
+++ b/drivers/media/platform/omap3isp/ispccp2.c
@@ -385,7 +385,7 @@
 	pad = media_entity_remote_pad(&ccp2->pads[CCP2_PAD_SINK]);
 	sensor = media_entity_to_v4l2_subdev(pad->entity);
 	buscfg = sensor->host_priv;
-
+#if 0
 	{
 		struct v4l2_subdev *subdev2;
 		struct v4l2_of_endpoint vep;
@@ -404,6 +404,7 @@
 			printk("Configured ok?\n");
 		}
 	}
+#endif
 
 	ret = ccp2_phyif_config(ccp2, &buscfg->bus.ccp2);
 	if (ret < 0)
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h
index fa07814..9698824 100644
--- a/include/media/v4l2-subdev.h
+++ b/include/media/v4l2-subdev.h
@@ -25,7 +25,6 @@
 #include <media/v4l2-dev.h>
 #include <media/v4l2-fh.h>
 #include <media/v4l2-mediabus.h>
-#include <media/v4l2-of.h>
 
 /* generic v4l2_device notify callback notification values */
 #define V4L2_SUBDEV_IR_RX_NOTIFY		_IOW('v', 0, u32)