On Tue, 3 Aug 2010, Michael Grzeschik wrote: > change this driver back to register and probe, since some platforms > first have to initialize an already registered power regulator to switch > on the camera. I shall be preparing a pull-request for 2.6.36-rc1 #2, but since we haven't finished discussing this and when this is ready, this will be a fix - without this your platform doesn't work, right? So, we can push it after rc1. Thanks Guennadi > > Signed-off-by: Michael Grzeschik <m.grzeschik@xxxxxxxxxxxxxx> > --- > drivers/media/video/mx2_camera.c | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/drivers/media/video/mx2_camera.c b/drivers/media/video/mx2_camera.c > index 98c93fa..c77a673 100644 > --- a/drivers/media/video/mx2_camera.c > +++ b/drivers/media/video/mx2_camera.c > @@ -1491,13 +1491,15 @@ static struct platform_driver mx2_camera_driver = { > .driver = { > .name = MX2_CAM_DRV_NAME, > }, > + > + .probe = mx2_camera_probe, > .remove = __devexit_p(mx2_camera_remove), > }; > > > static int __init mx2_camera_init(void) > { > - return platform_driver_probe(&mx2_camera_driver, &mx2_camera_probe); > + return platform_driver_register(&mx2_camera_driver); > } > > static void __exit mx2_camera_exit(void) > -- > 1.7.1 > > --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html