[media] omap3: Add function to register omap3isp platform device structure
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 14 Dec 2009 11:09:07 +0000 (08:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 22 Mar 2011 07:53:42 +0000 (04:53 -0300)
commita11f6706ca4473c2df3f72a306d9b9fee6512a33
tree7c3b1a769392dab56f1c8c9d39a70139abc45032
parent837c83283daa5ae3831c4dff6bdb75e26aeab4b0
[media] omap3: Add function to register omap3isp platform device structure

The omap3isp platform device requires platform data. Instead of
registering the device in omap2_init_devices(), export an
omap3_init_camera() function to fill the device structure with the
platform data pointer and register the device.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
arch/arm/mach-omap2/devices.c
arch/arm/mach-omap2/devices.h [new file with mode: 0644]