From patchwork Thu Apr 21 20:17:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 8903821 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 1A6ABBF29F for ; Thu, 21 Apr 2016 20:16:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 45D9420303 for ; Thu, 21 Apr 2016 20:16:49 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 6372420320 for ; Thu, 21 Apr 2016 20:16:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3AA8C6EDAD; Thu, 21 Apr 2016 20:16:34 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1C0966E1B5 for ; Thu, 21 Apr 2016 20:16:25 +0000 (UTC) Received: by mail-wm0-x231.google.com with SMTP id n3so150678727wmn.0 for ; Thu, 21 Apr 2016 13:16:25 -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=iyrJg2oV+pbqSjgEG0y0XW/ji9+lvLtBQRqxKLtpiVM=; b=PsWxzpuIDJzTBuSEOYfDmFGCEf0y8ZFKqlA/b+avUdKwQ7XcSMBEecabrpjhzKlZ2V 3X8p7csRbndZZsJG1SdjIYVkTbaTfHKWc87qj6W4ZSZ4MC45ZT4b6x00G505pBNKWXqb YTW7dfuSXP9AEEZnGH0YIVDWk2l+LYmJ6hOMO7cC5PbFiOOXuPS8SKOaupQiFmmLEVlf ndPk3l2aMUsHPo0X071shIxPi2MYESs6sr+8cB12CMsPMjoQwIuWI789THchytjti/6W goCdgrrdUkmRKfmnFy9+jgfUXYrVujtM5oMZqEcgsFAG8cgxUo1f6On9VK6Hlt5Pej9r 0c+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=iyrJg2oV+pbqSjgEG0y0XW/ji9+lvLtBQRqxKLtpiVM=; b=Vlu/QcphDDXl7/5KCMwEgEivp+Lq8g64G26Wbe7WwjTY7JD2BqYEEwWMElwr02jRzR oL78z+TvBeISw2MhkqfcYCpp5fUBMddSZknXFJfZ42SCn+TD8d/XZjajonENxPvQtJo5 ksLIR3BIuR4mlJpplDobhkNLBH1c2TKEMXQifdLs5IUH5bk0iSbxt11+RVKJnUgVTQqw s4MXBKk5JWMys5z3gUE3D7XbH3gY+c8hKVopRyl9DSd4+RAeJDx2VPqVoCu5yGml2ZiR cSpYS1QoxiFqsnd9uisPNt/P/kKtd8MKCPI/J0xxnTwmWsD1DunMADL68jMP96ADnvOa os8A== X-Gm-Message-State: AOPr4FW0HSLgARJde5wFVQKj4gMBCqeRoQkcqIueotDH6ZGmmqRdu0cNHuz0Xw4Ts+Damg== X-Received: by 10.28.1.85 with SMTP id 82mr39494052wmb.58.1461269783196; Thu, 21 Apr 2016 13:16:23 -0700 (PDT) Received: from arch-laptop.localdomain (cpc98192-croy26-2-0-cust395.19-2.cable.virginm.net. [82.32.159.140]) by smtp.gmail.com with ESMTPSA id ry15sm4486004wjb.19.2016.04.21.13.16.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Apr 2016 13:16:22 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH 04/24] drm/etnaviv: add extern C guard for the UAPI header Date: Thu, 21 Apr 2016 21:17:17 +0100 Message-Id: <1461269857-12813-5-git-send-email-emil.l.velikov@gmail.com> X-Mailer: git-send-email 2.6.2 In-Reply-To: <1461269857-12813-1-git-send-email-emil.l.velikov@gmail.com> References: <1461269857-12813-1-git-send-email-emil.l.velikov@gmail.com> Cc: Russell King , emil.l.velikov@gmail.com 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=-5.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 Cc: Christian Gmeiner Cc: Russell King Cc: Lucas Stach Signed-off-by: Emil Velikov Acked-by: Christian Gmeiner --- include/uapi/drm/etnaviv_drm.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/uapi/drm/etnaviv_drm.h b/include/uapi/drm/etnaviv_drm.h index f95e1c4..2584c1c 100644 --- a/include/uapi/drm/etnaviv_drm.h +++ b/include/uapi/drm/etnaviv_drm.h @@ -19,6 +19,10 @@ #include "drm.h" +#if defined(__cplusplus) +extern "C" { +#endif + /* Please note that modifications to all structs defined here are * subject to backwards-compatibility constraints: * 1) Do not use pointers, use __u64 instead for 32 bit / 64 bit @@ -222,4 +226,8 @@ struct drm_etnaviv_gem_wait { #define DRM_IOCTL_ETNAVIV_GEM_USERPTR DRM_IOWR(DRM_COMMAND_BASE + DRM_ETNAVIV_GEM_USERPTR, struct drm_etnaviv_gem_userptr) #define DRM_IOCTL_ETNAVIV_GEM_WAIT DRM_IOW(DRM_COMMAND_BASE + DRM_ETNAVIV_GEM_WAIT, struct drm_etnaviv_gem_wait) +#if defined(__cplusplus) +} +#endif + #endif /* __ETNAVIV_DRM_H__ */