Re: [PATCH] drm: drm_pci.h: add missing include

2017-03-13 Thread Daniel Vetter
On Sun, Mar 12, 2017 at 10:34:07PM -0400, Jérémy Lefaure wrote: > The structure platform_device is used in drm_pci.h without including > plaform_device.h so the compiler raises a warning: > > In file included from drivers/gpu/drm/drm_pci.c:29:0: > ./include/drm/drm_pci.h:76:64: warning: ‘struct pl

[PATCH] drm: drm_pci.h: add missing include

2017-03-13 Thread Jérémy Lefaure
The structure platform_device is used in drm_pci.h without including plaform_device.h so the compiler raises a warning: In file included from drivers/gpu/drm/drm_pci.c:29:0: ./include/drm/drm_pci.h:76:64: warning: ‘struct platform_device’ declared inside parameter list extern int drm_platform_ini