drm/i915/gvt: remove drmP.h include

Submitted by Jani Nikula on Jan. 8, 2019, 8:25 a.m.

Details

Message ID 20190108082545.25808-1-jani.nikula@intel.com
State New
Headers show
Series "drm/i915/gvt: remove drmP.h include" ( rev: 1 ) in Intel GVT devel

Not browsing as part of any series.

Commit Message

Jani Nikula Jan. 8, 2019, 8:25 a.m.
drmP.h is deprecated and no longer needed.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/i915/gvt/dmabuf.c | 1 -
 1 file changed, 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/i915/gvt/dmabuf.c b/drivers/gpu/drm/i915/gvt/dmabuf.c
index 51ed99a37803..2eb681175fae 100644
--- a/drivers/gpu/drm/i915/gvt/dmabuf.c
+++ b/drivers/gpu/drm/i915/gvt/dmabuf.c
@@ -29,7 +29,6 @@ 
  */
 
 #include <linux/dma-buf.h>
-#include <drm/drmP.h>
 #include <linux/vfio.h>
 
 #include "i915_drv.h"

Comments

On 2019.01.08 10:25:45 +0200, Jani Nikula wrote:
> drmP.h is deprecated and no longer needed.
> 
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
> ---
>  drivers/gpu/drm/i915/gvt/dmabuf.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/gvt/dmabuf.c b/drivers/gpu/drm/i915/gvt/dmabuf.c
> index 51ed99a37803..2eb681175fae 100644
> --- a/drivers/gpu/drm/i915/gvt/dmabuf.c
> +++ b/drivers/gpu/drm/i915/gvt/dmabuf.c
> @@ -29,7 +29,6 @@
>   */
>  
>  #include <linux/dma-buf.h>
> -#include <drm/drmP.h>
>  #include <linux/vfio.h>
>  
>  #include "i915_drv.h"
> -- 

Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>

Thanks! Will apply later.