]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (8040): soc-camera: remove soc_camera_host_class class
authorGuennadi Liakhovetski <g.liakhovetski@pengutronix.de>
Fri, 13 Jun 2008 12:11:01 +0000 (09:11 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 26 Jun 2008 18:58:50 +0000 (15:58 -0300)
commitb958caf59f435c9e911b267ac4f9abab46074a60
treecbffb373a0cc53359a2869d1442fc519fdc2aae4
parentc91de7e6967b936bf8f1d759b4abfa172b84b3fb
V4L/DVB (8040): soc-camera: remove soc_camera_host_class class

Devices can either be class devices or bus devices, not both at the
same time. Soc-camera host devices usually have a platform device as
their parent. Trying to also register them with a class crashes the
kernel, when linked statically. Interestingly, it works when built
as a module. Thanks to Paulius Zaleckas for reporting.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/soc_camera.c