Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd05e79f authored by Guennadi Liakhovetski's avatar Guennadi Liakhovetski Committed by Mauro Carvalho Chehab
Browse files

[media] soc-camera: fix static build of the sh_mobile_csi2.c driver



The test for driver->owner != NULL in sh_mobile_ceu_camera.c is unneeded and it
breaks the static build of sh_mobile_csi2.c. Remove it.

Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 42cc37fe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1980,7 +1980,7 @@ static int __devinit sh_mobile_ceu_probe(struct platform_device *pdev)
		 * we complete the completion.
		 */

		if (!csi2->driver || !csi2->driver->owner) {
		if (!csi2->driver) {
			complete(&wait.completion);
			/* Either too late, or probing failed */
			bus_unregister_notifier(&platform_bus_type, &wait.notifier);