Re: [PATCH] s5p-g2d: Add support for G2D H/W Rev.4.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux