On Wed, 3 Apr 2013, Fabio Porcedda wrote:
> On Mon, Mar 18, 2013 at 11:09 AM, Guennadi Liakhovetski
> <[email protected]> wrote:
> > Hi Fabio
> >
> > On Mon, 18 Mar 2013, Fabio Porcedda wrote:
> >
> >> The commit 39793c6 "[media] mx2_camera: Convert it to platform driver"
> >> used module_platform_driver() to make code smaller,
> >> but since the driver used platform_driver_probe is more appropriate
> >> to use module_platform_driver_probe().
> >>
> >> Signed-off-by: Fabio Porcedda <[email protected]>
> >> Cc: Fabio Estevam <[email protected]>
> >> Cc: Guennadi Liakhovetski <[email protected]>
> >> Cc: Mauro Carvalho Chehab <[email protected]>
> >
> > Thanks, will queue for 3.10.
>
> Thanks for taking it.
> In which repository/branch is it?
> This commit is not in linux-next or in
> git://linuxtv.org/mchehab/media-next.git yet.
Not yet. I'm preparing a branch locally to push to my repository on
git.linuxtv.org. I'll do that within a day or two, if no objections
emerge. Then I'll send a pull request to Mauro, then a couple of days
later he'll pull from my tree, then patches will appear in -next.
Thanks
Guennadi
>
> Best regards
> --
> Fabio Porcedda
>
> > Guennadi
> >
> >> ---
> >> drivers/media/platform/soc_camera/mx2_camera.c | 3 +--
> >> 1 file changed, 1 insertion(+), 2 deletions(-)
> >>
> >> diff --git a/drivers/media/platform/soc_camera/mx2_camera.c
> >> b/drivers/media/platform/soc_camera/mx2_camera.c
> >> index ffba7d9..848dff9 100644
> >> --- a/drivers/media/platform/soc_camera/mx2_camera.c
> >> +++ b/drivers/media/platform/soc_camera/mx2_camera.c
> >> @@ -1619,10 +1619,9 @@ static struct platform_driver mx2_camera_driver = {
> >> },
> >> .id_table = mx2_camera_devtype,
> >> .remove = mx2_camera_remove,
> >> - .probe = mx2_camera_probe,
> >> };
> >>
> >> -module_platform_driver(mx2_camera_driver);
> >> +module_platform_driver_probe(mx2_camera_driver, mx2_camera_probe);
> >>
> >> MODULE_DESCRIPTION("i.MX27 SoC Camera Host driver");
> >> MODULE_AUTHOR("Sascha Hauer <[email protected]>");
> >> --
> >> 1.8.2
> >>
> >
> > ---
> > Guennadi Liakhovetski, Ph.D.
> > Freelance Open-Source Software Developer
> > http://www.open-technology.de/
>
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html