[E3-hacking] [RESEND][PATCH v2 2/6] OMAP1: Add support for SoC camera interface
g.liakhovetski at gmx.de
Fri Sep 24 07:54:20 BST 2010
On Thu, 23 Sep 2010, Tony Lindgren wrote:
> * Janusz Krzysztofik <jkrzyszt at tis.icnet.pl> [100923 16:37]:
> > Friday 24 September 2010 01:23:10 Tony Lindgren napisał(a):
> > >
> > > I think you can just move the OMAP1_CAMERA_IOSIZE to the devices.c or
> > > someplace like that?
> > Tony,
> > Not exactly. I use the OMAP1_CAMERA_IOSIZE inside the driver when reserving
> > space for register cache.
> > I think that I could just duplicate its definition in the devices.c for now,
> > than clean things up with a folloup patch when both parts already get merged.
> > Would this be acceptable?
> Yeah, that sounds good to me.
...better yet put a zero-length cache array at the end of your struct
omap1_cam_dev and allocate it dynamically, calculated from the resource
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
More information about the e3-hacking