Hi Sachin, I tested your patch on Exynos 4210 and it works. Ack on my side. Best wishes, -- Kamil Debski Linux Platform Group Samsung Poland R&D Center > From: Sachin Kamat [mailto:sachin.kamat@xxxxxxxxxx] > Sent: Wednesday, January 16, 2013 11:24 AM > To: Sylwester Nawrocki > Cc: linux-media@xxxxxxxxxxxxxxx; ajaykumar.rs@xxxxxxxxxxx; > patches@xxxxxxxxxx; Kamil Debski > Subject: Re: [PATCH] s5p-g2d: Add support for G2D H/W Rev.4.1 > > Hi Sylwester, > > On 16 January 2013 15:43, Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx> > wrote: > > Hi Sachin, > > > > I have just one small comment... > > > > On 01/07/2013 07:44 AM, Sachin Kamat wrote: > >> +static void *g2d_get_drv_data(struct platform_device *pdev) { > >> + struct g2d_variant *driver_data = NULL; > >> + > >> + driver_data = (struct g2d_variant *) > >> + platform_get_device_id(pdev)->driver_data; > >> + > >> + return driver_data; > >> +} > > > > How about adding this to g2d.h as: > > > > static inline struct g2d_variant *g2d_get_drv_data(struct > > platform_device *pdev) { > > return (struct g2d_variant > > *)platform_get_device_id(pdev)->driver_data; > > } > > > > ? > > OK. I will move it to g2d.h and resend the patch. > > > > > Otherwise the patch looks OK to me. > > > > -- > > > > Thanks, > > Sylwester > > > > -- > With warm regards, > Sachin -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html