Re: [PATCH] tee: add forward declaration for struct device

2017-06-14 Thread Arnd Bergmann
On Wed, Jun 14, 2017 at 1:06 PM, Jerome Forissier wrote: > On 06/14/2017 01:01 PM, Arnd Bergmann wrote: >> On Wed, Jun 14, 2017 at 11:46 AM, Jens Wiklander >> wrote: >>> On Wed, Jun 14, 2017 at 11:39:50AM +0200, Jerome Forissier wrote: [+Arnd] Ping? Thanks, -- J

Re: [PATCH] tee: add forward declaration for struct device

2017-06-14 Thread Jerome Forissier
On 06/14/2017 01:01 PM, Arnd Bergmann wrote: > On Wed, Jun 14, 2017 at 11:46 AM, Jens Wiklander > wrote: >> On Wed, Jun 14, 2017 at 11:39:50AM +0200, Jerome Forissier wrote: >>> [+Arnd] >>> >>> Ping? >>> >>> Thanks, >>> -- >>> Jerome >>> >>> On 05/31/2017 01:21 PM, Jerome Forissier wrote: t

Re: [PATCH] tee: add forward declaration for struct device

2017-06-14 Thread Arnd Bergmann
On Wed, Jun 14, 2017 at 11:46 AM, Jens Wiklander wrote: > On Wed, Jun 14, 2017 at 11:39:50AM +0200, Jerome Forissier wrote: >> [+Arnd] >> >> Ping? >> >> Thanks, >> -- >> Jerome >> >> On 05/31/2017 01:21 PM, Jerome Forissier wrote: >> > tee_drv.h references struct device, but does not include devic

Re: [PATCH] tee: add forward declaration for struct device

2017-06-14 Thread Jens Wiklander
On Wed, Jun 14, 2017 at 11:39:50AM +0200, Jerome Forissier wrote: > [+Arnd] > > Ping? > > Thanks, > -- > Jerome > > On 05/31/2017 01:21 PM, Jerome Forissier wrote: > > tee_drv.h references struct device, but does not include device.h nor > > platform_device.h. Therefore, if tee_drv.h is include

Re: [PATCH] tee: add forward declaration for struct device

2017-06-14 Thread Jerome Forissier
[+Arnd] Ping? Thanks, -- Jerome On 05/31/2017 01:21 PM, Jerome Forissier wrote: > tee_drv.h references struct device, but does not include device.h nor > platform_device.h. Therefore, if tee_drv.h is included by some file > that does not pull device.h nor platform_device.h beforehand, we have a

[PATCH] tee: add forward declaration for struct device

2017-05-31 Thread Jerome Forissier
tee_drv.h references struct device, but does not include device.h nor platform_device.h. Therefore, if tee_drv.h is included by some file that does not pull device.h nor platform_device.h beforehand, we have a compile warning. Fix this by adding a forward declaration. Signed-off-by: Jerome Forissi