From patchwork Thu Apr 21 20:17:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 8903861 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 6A4C5BF4C7 for ; Thu, 21 Apr 2016 20:16:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A9C652026F for ; Thu, 21 Apr 2016 20:16:54 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id DD8D020357 for ; Thu, 21 Apr 2016 20:16:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 34B1F6ED99; Thu, 21 Apr 2016 20:16:48 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) by gabe.freedesktop.org (Postfix) with ESMTPS id D051B6ED91 for ; Thu, 21 Apr 2016 20:16:40 +0000 (UTC) Received: by mail-wm0-x232.google.com with SMTP id u206so150009163wme.1 for ; Thu, 21 Apr 2016 13:16:40 -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=2SOasliuGu7ira4gKznFtF/7ctUH8QBks2HJnBEMK2w=; b=Of6L8oYlmEmI4IVhf6O1ErPgsfZRy3vAyB/bPhNMNHAFLZ2/IddyX9invaj3RSRvO0 bxWFdS2RBRI+S1+kr76SMXSYpcxlMwWV3QAcVDBjOTRpUMENfbyDjdQN/PuCQOeFcznX 1GRPlfg2yngbTUciL0MMI/xSJ7VWx+t4Ifsf60NH2ARcwhZ80cuhZ1aytqyQM7Zq6wHd +n1pfKxfcVivYKVMCl94OUyotjz4zyPF+j6re7EuTL6Ld2UlsWVN9LQIm/Yu4YLr4aK0 A1KPJUEPeMHxJZs4QamV7zA4zyTAAUJ79fA1Ra7WHBq9MXBB3x8XOWTHsBsErugk/CrC CFVw== 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=2SOasliuGu7ira4gKznFtF/7ctUH8QBks2HJnBEMK2w=; b=bey8m5wmf+EQh0x3kPlC2I7C7ZDQTUe4cDapi+nWmYSvhH+lzNW7hY63rO75CX0OkC gVytSZa8edOsrv2NodISwMouA289ZYqKqj5wUaqlPUOuQIuXlu7Sk6zcaK34rhGf49Wa PwQzFQoB2it7MjpGz+Po3uiqDHOfRf2Y66DBLQyU6DidPGPMfILSB/rj9VlDZHf5LMRg kBuXPp4iCoxBW34Zi8gUplrVjtj+bAmsdGVfjV/+r1+oez0GhnaPQaEfWhlUrbpKiGLz +KKJ/JKjqghrlQZKImD0VzWkvrmWNJegYbTZtaD5E8IZwRBnLDiLG7h0DYemuqLI66Ks xqIw== X-Gm-Message-State: AOPr4FWFgn7+jaEwLN6vbzuEbpZEo2ky7KxBXFZZj3rANoo+/7nEe6vImuuizELNI5+77w== X-Received: by 10.194.134.134 with SMTP id pk6mr16697790wjb.176.1461269799203; Thu, 21 Apr 2016 13:16:39 -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.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Apr 2016 13:16:38 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH 21/24] drm/vc4: add extern C guard for the UAPI header Date: Thu, 21 Apr 2016 21:17:34 +0100 Message-Id: <1461269857-12813-22-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: Eric Anholt Signed-off-by: Emil Velikov --- include/uapi/drm/vc4_drm.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/uapi/drm/vc4_drm.h b/include/uapi/drm/vc4_drm.h index eeb37e3..af12e8a 100644 --- a/include/uapi/drm/vc4_drm.h +++ b/include/uapi/drm/vc4_drm.h @@ -26,6 +26,10 @@ #include "drm.h" +#if defined(__cplusplus) +extern "C" { +#endif + #define DRM_VC4_SUBMIT_CL 0x00 #define DRM_VC4_WAIT_SEQNO 0x01 #define DRM_VC4_WAIT_BO 0x02 @@ -276,4 +280,8 @@ struct drm_vc4_get_hang_state { __u32 pad[16]; }; +#if defined(__cplusplus) +} +#endif + #endif /* _UAPI_VC4_DRM_H_ */