[media] omap_vout: fix section mismatch
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 8 Nov 2011 08:47:08 +0000 (05:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 23 Jan 2012 17:27:17 +0000 (15:27 -0200)
commit93596ef7db3e9bcc9306c3e93cf28ce1048858b6
tree223c2d3e3b99c0d3f242da9fc4bb195af7b9fe07
parentaa104b2fea3ced2a562c480448a2f346c3ab61f4
[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 <tomi.valkeinen@ti.com>
Acked-by: Vaibhav Hiremath <hvaibhav@ti.com>
Tested-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/omap/omap_vout.c