From patchwork Thu Apr 21 20:17:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 8903921 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 860E3BF4C7 for ; Thu, 21 Apr 2016 20:17:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C71F420320 for ; Thu, 21 Apr 2016 20:17:12 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 05B382026D for ; Thu, 21 Apr 2016 20:17:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4D5906EDAA; Thu, 21 Apr 2016 20:17:08 +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 33BAF6ED9E for ; Thu, 21 Apr 2016 20:16:32 +0000 (UTC) Received: by mail-wm0-x232.google.com with SMTP id n3so150683046wmn.0 for ; Thu, 21 Apr 2016 13:16: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=Ok+s4AYm9ctbiFDeefVT5V56O+N0x7Gm9qZYErRFD1o=; b=xptE2JJKmv01jkF4TraFpyyf7LxxenOtZxATvXHRswfIrxmHoilYFyKPDowsilqwtc leMZHx3Ei0axprCJKNaz8ZvPRAG4DXoVnKFX71lWm1hJGEKNzYJSrYEtvhjtWBTPdkJ6 RS5i7/VReqZ172cOTEurDNKLsOA0Ata1yMDkEWg/1IL0PGCALPw10/rL7ZYX2BuJsw3Z UYXI4Ugf343Sbzvje1hOSpqJgXLbqLTlKKQ0Qvw24H1ygXP+dVytADvL2IhjtaDQbQEw twpbKFwKhmfAPKcBYTKSPO+J6ca/V3cbo+00Lyu36fAV5n5DF+msvZA7YGBRSW/ZRA/a JHcA== 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=Ok+s4AYm9ctbiFDeefVT5V56O+N0x7Gm9qZYErRFD1o=; b=ZT6BvD6y3cjIW8Fj2DxG9AvbjY/6UbzGsMjjE/btMuD78Kr9bdUzLzDRZT7MlptCfo 7cJJCxrPoPccODLyXfbafFrOum+1H7N7V/HsgO0VrAXa8pmEYXq8RL4LQcn/7zXcuD9X 5Pt0AOUs4MktZQ99BcdnRQNqn7Nmy9FiwUZRgK6nDGju/+wq784trh971Jp/xU0sivTy 3LmryQ66R3Et9PIvZjjlBd8TG+SilpCQ3LVOuAbDL9x9E93JF9KHjaIm+vGpmwqFSOoL yI/keHHT/5fVrNKcMXtyHn3cod2VzPDgb96G9bmntTHtlxN+DaeEuaOFclqW7D87o45x K0oQ== X-Gm-Message-State: AOPr4FX90YhuLDHMIx+1bA2NsRPxoxfVarUx1VlL8K4Tjmd9vjeG+W/Mcs6u3Ksm2AuEKw== X-Received: by 10.194.134.134 with SMTP id pk6mr16697338wjb.176.1461269790580; Thu, 21 Apr 2016 13:16:30 -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.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Apr 2016 13:16:29 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH 12/24] drm/omap: add extern C guard for the UAPI header Date: Thu, 21 Apr 2016 21:17:25 +0100 Message-Id: <1461269857-12813-13-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: Tomi Valkeinen , emil.l.velikov@gmail.com, Laurent Pinchart 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: Tomi Valkeinen Cc: Laurent Pinchart Signed-off-by: Emil Velikov Acked-by: Tomi Valkeinen --- include/uapi/drm/omap_drm.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/uapi/drm/omap_drm.h b/include/uapi/drm/omap_drm.h index 38a3bd8..407cb55 100644 --- a/include/uapi/drm/omap_drm.h +++ b/include/uapi/drm/omap_drm.h @@ -22,6 +22,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. */ @@ -114,4 +118,8 @@ struct drm_omap_gem_info { #define DRM_IOCTL_OMAP_GEM_CPU_FINI DRM_IOW (DRM_COMMAND_BASE + DRM_OMAP_GEM_CPU_FINI, struct drm_omap_gem_cpu_fini) #define DRM_IOCTL_OMAP_GEM_INFO DRM_IOWR(DRM_COMMAND_BASE + DRM_OMAP_GEM_INFO, struct drm_omap_gem_info) +#if defined(__cplusplus) +} +#endif + #endif /* __OMAP_DRM_H__ */