Re: [PATCH] drm: headers: Add neccessary include files and guards

2019-03-27 Thread Ahmed S. Darwish
Hi, On Wed, Mar 27, 2019 at 09:30:59AM +0100, Daniel Vetter wrote: > On Wed, Mar 27, 2019 at 12:23:43AM +0100, Ahmed S. Darwish wrote: > > Otherwise gcc will complain about unknown types, and declarations > > inside parameter lists, if "drm_internal.h" is used in C files with > > less headers

Re: [PATCH] drm: headers: Add neccessary include files and guards

2019-03-27 Thread Daniel Vetter
On Wed, Mar 27, 2019 at 12:23:43AM +0100, Ahmed S. Darwish wrote: > Otherwise gcc will complain about unknown types, and declarations > inside parameter lists, if "drm_internal.h" is used in C files with > less headers than what's now typically done under drivers/gpu/drm/. > > Signed-off-by:

[PATCH] drm: headers: Add neccessary include files and guards

2019-03-26 Thread Ahmed S. Darwish
Otherwise gcc will complain about unknown types, and declarations inside parameter lists, if "drm_internal.h" is used in C files with less headers than what's now typically done under drivers/gpu/drm/. Signed-off-by: Ahmed S. Darwish --- Notes: This was triggered by the in-development