From patchwork Mon Nov 30 14:10:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Laskar X-Patchwork-Id: 7725951 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E4E21BEEE5 for ; Mon, 30 Nov 2015 14:11:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E64BE20561 for ; Mon, 30 Nov 2015 14:11:14 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 9B58620570 for ; Mon, 30 Nov 2015 14:11:13 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DA35D72094; Mon, 30 Nov 2015 06:11:09 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from gaby.io (195-154-87-184.rev.poneytelecom.eu [195.154.87.184]) by gabe.freedesktop.org (Postfix) with ESMTP id C5BA56E5D2 for ; Mon, 30 Nov 2015 06:11:03 -0800 (PST) Received: from guiness.lse.epita.fr (lse.epita.fr [163.5.55.17]) by gaby.io (Postfix) with ESMTPSA id 1CF10D803AF; Mon, 30 Nov 2015 15:11:03 +0100 (CET) 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) Subject: [PATCH 10/20] drm: fix inclusion of drm.h in mga_drm.h Date: Mon, 30 Nov 2015 15:10:48 +0100 Message-Id: <1448892658-14256-11-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> Cc: Mikko Rapeli , Emil Velikov X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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/mga_drm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/drm/mga_drm.h b/include/uapi/drm/mga_drm.h index 2375bfd..fca8170 100644 --- a/include/uapi/drm/mga_drm.h +++ b/include/uapi/drm/mga_drm.h @@ -35,7 +35,7 @@ #ifndef __MGA_DRM_H__ #define __MGA_DRM_H__ -#include +#include "drm.h" /* WARNING: If you change any of these defines, make sure to change the * defines in the Xserver file (mga_sarea.h)