Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754476AbbK3OMM (ORCPT ); Mon, 30 Nov 2015 09:12:12 -0500 Received: from 195-154-87-184.rev.poneytelecom.eu ([195.154.87.184]:44585 "EHLO gaby.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754213AbbK3OLJ (ORCPT ); Mon, 30 Nov 2015 09:11:09 -0500 From: Gabriel Laskar To: David Airlie , dri-devel@lists.freedesktop.org (open list:DRM DRIVERS), linux-api@vger.kernel.org (open list:ABI/API), linux-kernel@vger.kernel.org (open list) Cc: Gabriel Laskar , Emil Velikov , Mikko Rapeli Subject: [PATCH 17/20] drm: fix inclusion of drm.h in virtgpu_drm.h Date: Mon, 30 Nov 2015 15:10:55 +0100 Message-Id: <1448892658-14256-18-git-send-email-gabriel@lse.epita.fr> X-Mailer: git-send-email 2.6.2 In-Reply-To: <1448892658-14256-1-git-send-email-gabriel@lse.epita.fr> References: <1448892658-14256-1-git-send-email-gabriel@lse.epita.fr> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1072 Lines: 34 Using `#include "drm.h"` instead of `#include ` allow drm headers to be moved in another directory without changes, like for the libdrm imports. Signed-off-by: Gabriel Laskar CC: Emil Velikov CC: Mikko Rapeli --- include/uapi/drm/virtgpu_drm.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/uapi/drm/virtgpu_drm.h b/include/uapi/drm/virtgpu_drm.h index 4bcfbe6..c74f1f9 100644 --- a/include/uapi/drm/virtgpu_drm.h +++ b/include/uapi/drm/virtgpu_drm.h @@ -24,8 +24,7 @@ #ifndef VIRTGPU_DRM_H #define VIRTGPU_DRM_H -#include -#include "drm/drm.h" +#include "drm.h" /* Please note that modifications to all structs defined here are * subject to backwards-compatibility constraints. -- 2.6.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/