From patchwork Thu Apr 21 20:17:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 8903941 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 B803FBF29F for ; Thu, 21 Apr 2016 20:18:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E6EBE2034C for ; Thu, 21 Apr 2016 20:18:35 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 20AA62026F for ; Thu, 21 Apr 2016 20:18:35 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4115B6ED9D; Thu, 21 Apr 2016 20:18:33 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) by gabe.freedesktop.org (Postfix) with ESMTPS id E4AFF6ED9A for ; Thu, 21 Apr 2016 20:16:39 +0000 (UTC) Received: by mail-wm0-x230.google.com with SMTP id n3so150687374wmn.0 for ; Thu, 21 Apr 2016 13:16:39 -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=FO7c2Xxqaa6TLVF135eqNWdYf03tLtAX3EsPyBzmA/g=; b=yTWRVGITYET4zzIxjVQCzNcJtGyGtndyivD9pfYWq0B6tP6b6DFVx+G8MQK/cBeD4/ PT4r4TgY9v/9NJq+MQxF31avtuY4yGoE23EifgAIoV1R2TjRfM9Bw1WGBI/uKFCwH6o3 Bkny1dFgJSQTv1dREYk80GOkCqFT4af4QajOMelcmrcDqFRnZ6DQ3U2Su67jr/vK64u5 vvWe+JBtCA30rWzBzCYabxlSjT57JMOK2EgD3sJ5j7vukMiIVbCv3qEX5g4MqdOC9HpV wqDSTstNQiQoVXTj959HyJHALaBJ69T7EIiLJU2b0KLatCad0xuEX6wPNsQ+SELbjxsN m8QQ== 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=FO7c2Xxqaa6TLVF135eqNWdYf03tLtAX3EsPyBzmA/g=; b=kt5ISlAxfdAvGA/RjdEcAhYhofpO8PnckW/bmmURyJLQfb8NBBk+3mGEf2+PI/F3QZ 2qpHSoVT4H2wdrSrbFeNjSbV5bFLKyxWV01LgsSLND7vWPjoANjQt2+Nz8Ln6JqnFfKk UxZDMygpJvZvZqBMt8ETSAhMcH/cKipjFX8RReJNk9REbyPx2uz84btoKKBz+iKLaO8b Lf2QjrX+tNgIajz2nDo1jeHpFPuFDv4QM9PbqrQM4Ss4aA75B4+Jg/TS4/Fo9jKPVmem kBEUM8Kj+fxJQ7jyqdt3Eh85kf374P+xkELuF1M8mPphn59puk1yvyAsKM3P5QZjq5WS LNfg== X-Gm-Message-State: AOPr4FXmx62AqxlzqsUAV2t5NIGHP4cM0/HkTq9O68UHrB3JedM+e20JAo8chNkyMtbyyA== X-Received: by 10.194.231.196 with SMTP id ti4mr18044230wjc.41.1461269798322; Thu, 21 Apr 2016 13:16:38 -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.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Apr 2016 13:16:37 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH 20/24] drm/tegra: add extern C guard for the UAPI header Date: Thu, 21 Apr 2016 21:17:33 +0100 Message-Id: <1461269857-12813-21-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: 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: Erik Faye-Lund Cc: Thierry Reding Signed-off-by: Emil Velikov Acked-by: Thierry Reding --- include/uapi/drm/tegra_drm.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/uapi/drm/tegra_drm.h b/include/uapi/drm/tegra_drm.h index 27d0b05..d954f8c 100644 --- a/include/uapi/drm/tegra_drm.h +++ b/include/uapi/drm/tegra_drm.h @@ -25,6 +25,10 @@ #include "drm.h" +#if defined(__cplusplus) +extern "C" { +#endif + #define DRM_TEGRA_GEM_CREATE_TILED (1 << 0) #define DRM_TEGRA_GEM_CREATE_BOTTOM_UP (1 << 1) @@ -198,4 +202,8 @@ struct drm_tegra_gem_get_flags { #define DRM_IOCTL_TEGRA_GEM_SET_FLAGS DRM_IOWR(DRM_COMMAND_BASE + DRM_TEGRA_GEM_SET_FLAGS, struct drm_tegra_gem_set_flags) #define DRM_IOCTL_TEGRA_GEM_GET_FLAGS DRM_IOWR(DRM_COMMAND_BASE + DRM_TEGRA_GEM_GET_FLAGS, struct drm_tegra_gem_get_flags) +#if defined(__cplusplus) +} +#endif + #endif