From patchwork Mon Aug 8 07:22:35 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amerigo Wang X-Patchwork-Id: 1047592 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p796an6L014721 for ; Tue, 9 Aug 2011 06:37:10 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 593079E76E for ; Mon, 8 Aug 2011 23:36:49 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by gabe.freedesktop.org (Postfix) with ESMTP id D75279F2FE for ; Mon, 8 Aug 2011 00:22:53 -0700 (PDT) Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p787Mls9021788 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 8 Aug 2011 03:22:48 -0400 Received: from cr0.redhat.com (vpn1-7-29.sin2.redhat.com [10.67.7.29]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p787MfHC030588; Mon, 8 Aug 2011 03:22:43 -0400 From: Amerigo Wang To: linux-kernel@vger.kernel.org Subject: [PATCH] drm: add missing header file Date: Mon, 8 Aug 2011 15:22:35 +0800 Message-Id: <1312788155-8451-1-git-send-email-amwang@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Mailman-Approved-At: Mon, 08 Aug 2011 23:36:35 -0700 Cc: akpm@linux-foundation.org, WANG Cong , dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 09 Aug 2011 06:37:10 +0000 (UTC) This patch fixes the following 'make headers_check' errors: linux-2.6/usr/include/drm/drm_mode.h:85: found __[us]{8,16,32,64} type without #include linux-2.6/usr/include/drm/i915_drm.h:120: found __[us]{8,16,32,64} type without #include linux-2.6/usr/include/drm/mga_drm.h:260: found __[us]{8,16,32,64} type without #include linux-2.6/usr/include/drm/radeon_drm.h:758: found __[us]{8,16,32,64} type without #include linux-2.6/usr/include/drm/via_drm.h:117: found __[us]{8,16,32,64} type without #include Signed-off-by: WANG Cong diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h index c4961ea..fe8005f 100644 --- a/include/drm/drm_mode.h +++ b/include/drm/drm_mode.h @@ -81,6 +81,8 @@ #define DRM_MODE_DIRTY_ON 1 #define DRM_MODE_DIRTY_ANNOTATE 2 +#include + struct drm_mode_modeinfo { __u32 clock; __u16 hdisplay, hsync_start, hsync_end, htotal, hskew; diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h index 28c0d11..d7ddd33 100644 --- a/include/drm/i915_drm.h +++ b/include/drm/i915_drm.h @@ -27,6 +27,7 @@ #ifndef _I915_DRM_H_ #define _I915_DRM_H_ +#include #include "drm.h" /* Please note that modifications to all structs defined here are diff --git a/include/drm/mga_drm.h b/include/drm/mga_drm.h index fca8170..8058ce0 100644 --- a/include/drm/mga_drm.h +++ b/include/drm/mga_drm.h @@ -35,6 +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 diff --git a/include/drm/radeon_drm.h b/include/drm/radeon_drm.h index b65be60..f0be4c7 100644 --- a/include/drm/radeon_drm.h +++ b/include/drm/radeon_drm.h @@ -33,6 +33,7 @@ #ifndef __RADEON_DRM_H__ #define __RADEON_DRM_H__ +#include #include "drm.h" /* WARNING: If you change any of these defines, make sure to change the diff --git a/include/drm/via_drm.h b/include/drm/via_drm.h index fd11a5b..23880b0 100644 --- a/include/drm/via_drm.h +++ b/include/drm/via_drm.h @@ -24,6 +24,7 @@ #ifndef _VIA_DRM_H_ #define _VIA_DRM_H_ +#include #include "drm.h" /* WARNING: These defines must be the same as what the Xserver uses.