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.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de> --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html