From patchwork Fri Aug 29 10:12:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Herrmann X-Patchwork-Id: 4809871 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5DA55C0338 for ; Fri, 29 Aug 2014 10:13:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A1B812012D for ; Fri, 29 Aug 2014 10:13:38 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id D51FE20125 for ; Fri, 29 Aug 2014 10:13:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1C08F6E6A2; Fri, 29 Aug 2014 03:13:37 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by gabe.freedesktop.org (Postfix) with ESMTP id D29996E6A4 for ; Fri, 29 Aug 2014 03:13:32 -0700 (PDT) Received: by mail-wi0-f182.google.com with SMTP id z2so2271781wiv.3 for ; Fri, 29 Aug 2014 03:13:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=WTDDnzyTsv9ewPlLzS2jz3dojNf19fQnr++BTQabg8g=; b=GxUwcpiWkKpByZPtncIV67VbndVeXC4SQnobQ7SgVmY0AWqO1xPEDFhlDW7kSmS7LS huBdSqtN7pYI9PkjKo2DVRXJcp/MXFdvDKfStA6aGpeVbrGTlGFVQ1wD1EJFwMWnYQLV PWmXTd/CVRQH0xDpgoRHsMBXsipdcBBRzW3MAaR+dH2vkFkpu6fvyZfey78re5HYRtVY 06jU6As3qVwPVHqWCpf+j9LhR2xXQZ1L4JQxCS/+BsOSMbAaAECp8E7sIJN9UtOdf8B4 FsBGyDti3RvVzHlwnZJCT7wxvQRYikkBveWOylvpTQyuCVeUjgbxOjgoagizC0RLrzdw YwVw== X-Received: by 10.180.90.6 with SMTP id bs6mr2756247wib.47.1409307212159; Fri, 29 Aug 2014 03:13:32 -0700 (PDT) Received: from david-tp.localdomain (stgt-4d02e0c1.pool.mediaWays.net. [77.2.224.193]) by mx.google.com with ESMTPSA id la2sm17479347wjb.5.2014.08.29.03.13.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 29 Aug 2014 03:13:31 -0700 (PDT) From: David Herrmann To: dri-devel@lists.freedesktop.org Subject: [PATCH 08/20] drm: drop __KERNEL__ protection in drmP.h Date: Fri, 29 Aug 2014 12:12:34 +0200 Message-Id: <1409307166-12396-9-git-send-email-dh.herrmann@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1409307166-12396-1-git-send-email-dh.herrmann@gmail.com> References: <1409307166-12396-1-git-send-email-dh.herrmann@gmail.com> Cc: Daniel Vetter X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 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.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable 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 drmP.h is internal to the kernel. No need to keep the __KERNEL__ protection. Signed-off-by: David Herrmann Reviewed-by: Thierry Reding --- include/drm/drmP.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 31fb300..d3504c6 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -35,7 +35,6 @@ #ifndef _DRM_P_H_ #define _DRM_P_H_ -#ifdef __KERNEL__ #include #include #include @@ -1544,5 +1543,4 @@ static __inline__ bool drm_can_sleep(void) return true; } -#endif /* __KERNEL__ */ #endif