RE: [PATCH] omap_vout: fix section mismatch

2011-11-09 Thread Hiremath, Vaibhav
-Original Message- From: Valkeinen, Tomi Sent: Tuesday, November 08, 2011 8:54 PM To: Hiremath, Vaibhav Cc: linux-media@vger.kernel.org; Taneja, Archit Subject: RE: [PATCH] omap_vout: fix section mismatch On Tue, 2011-11-08 at 15:15 +, Hiremath, Vaibhav wrote: I am

[PATCH] omap_vout: fix section mismatch

2011-11-08 Thread Tomi Valkeinen
Fix the following warning by using platform_driver_probe() instead of platform_driver_register(): WARNING: drivers/media/video/omap/omap-vout.o(.data+0x24): Section mismatch in reference from the variable omap_vout_driver to the function .init.text:omap_vout_probe() The variable omap_vout_driver

RE: [PATCH] omap_vout: fix section mismatch

2011-11-08 Thread Hiremath, Vaibhav
-Original Message- From: Valkeinen, Tomi Sent: Tuesday, November 08, 2011 3:17 PM To: linux-media@vger.kernel.org; Hiremath, Vaibhav Cc: Taneja, Archit; Valkeinen, Tomi Subject: [PATCH] omap_vout: fix section mismatch Fix the following warning by using platform_driver_probe

RE: [PATCH] omap_vout: fix section mismatch

2011-11-08 Thread Tomi Valkeinen
On Tue, 2011-11-08 at 15:15 +, Hiremath, Vaibhav wrote: I am not sure whether you had tested it, but kernel doesn't boot with V4L2 display enabled in defconfig. I have patch to fix this, will submit shortly - diff --git a/drivers/media/video/omap/omap_vout.c