diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-07-18 15:53:56 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-31 00:13:39 +0200 |
commit | 1858c99db41eec26bb33e6b67020a41705e83faf (patch) | |
tree | 5068be866697d6ed4c61358bfadb5e99aa2bb644 /drivers/media/video/ov2640.c | |
parent | [media] v4l2-ioctl.c: zero the v4l2_dv_timings_cap struct (diff) | |
download | linux-1858c99db41eec26bb33e6b67020a41705e83faf.tar.xz linux-1858c99db41eec26bb33e6b67020a41705e83faf.zip |
[media] soc-camera: Don't fail at module init time if no device is present
The soc-camera module exports functions that are needed by soc-camera
client drivers even when not running in soc-camera mode. Replace the
platform_driver_probe() with a platform_driver_register() call to avoid
module load failures if no soc-camera device is present.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions