Currently drivers/video/omap2 is built by default with every configuration of the kernel. Current patchset makes the omap2 video support conditional on appropriate config option.
[Patch 2/2] was first generated, but that resulted in a build error. [Patch 1/2] was created to fix that build error.
These patches have only been tested for build consistency and have not been tested on any related hardware.
Tushar Behera (2): config: omap2+: force fb and dss support as built-in video: omap2: Compile omap2 support only when needed
arch/arm/configs/omap2plus_defconfig | 4 ++-- drivers/video/Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)