From: Tomi Valkeinen Date: Tue, 8 Nov 2011 08:47:08 +0000 (-0300) Subject: [media] omap_vout: fix section mismatch X-Git-Tag: sz_173~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cbe474a7a0ce7ecaeb6ff16c886d86f3ef91466;p=pandora-kernel.git [media] omap_vout: fix section mismatch 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 references the function __init omap_vout_probe() Signed-off-by: Tomi Valkeinen Acked-by: Vaibhav Hiremath Tested-by: Vaibhav Hiremath Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed