From patchwork Wed Dec 26 12:06:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 10743009 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4182E924 for ; Wed, 26 Dec 2018 12:06:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 28AEF287C6 for ; Wed, 26 Dec 2018 12:06:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1C6F92896A; Wed, 26 Dec 2018 12:06:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5E7AB2890E for ; Wed, 26 Dec 2018 12:06:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3095A89DA7; Wed, 26 Dec 2018 12:06:29 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qk1-x742.google.com (mail-qk1-x742.google.com [IPv6:2607:f8b0:4864:20::742]) by gabe.freedesktop.org (Postfix) with ESMTPS id C159A89DA7 for ; Wed, 26 Dec 2018 12:06:27 +0000 (UTC) Received: by mail-qk1-x742.google.com with SMTP id 189so9190476qkj.8 for ; Wed, 26 Dec 2018 04:06:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=/9nxCBO9HXfp/MgEn2WY1dHMNwjezlpzpEPj10voN5I=; b=g7TqFDYdmbcHY0tc8sdwGqRouvs+CwRJo1abAIYhYirK+iEXa17Iu/iMiSwO5GZ3ng m3OAK2wQmlHnHN4MW5e8V9mKKhBNtaW7TdTTCqvQVLH5Mc/9HSD1N08eyHe6Qb4f7F80 eIq4Rbkl+vK/IcRRDoZGIuSdNpeJHr26aMCihTFpP1/qpTTwMxclaNYO9GEoh0RCfp9u Lb5QB9GPog/mGnSVQDG/5gF8JcgHn6KgrQENOuv1Jp+BntT1JLpbZDBAKwdEpvmTyFYN 14Hu8aHqdN2GwhgLHyTEgqOznl8XmKIsVouNmwUUzDXVXQil0v71u0Ef2HhhcuEvJreB Qnfg== X-Gm-Message-State: AJcUukcmGdjfsbKdw/N5oNTs1/7Q7RJ9lH10RKNGwyVY1plcvHR9T0B6 jdfiXPZ5TACegg35LXeKNbossrU9 X-Google-Smtp-Source: ALg8bN6lOnuFQ5QIjsKOd25gXxaVkQ7/TxURBp3qaQV+Nz9sQTzhYo7OwF7tS+PPQzZcvP3aW+DCGA== X-Received: by 2002:ae9:dd42:: with SMTP id r63mr17020890qkf.264.1545825986751; Wed, 26 Dec 2018 04:06:26 -0800 (PST) Received: from fabio-Latitude-E5450.am.freescale.net ([2804:14c:482:1f2::1]) by smtp.gmail.com with ESMTPSA id d199sm11661831qkc.76.2018.12.26.04.06.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Dec 2018 04:06:26 -0800 (PST) From: Fabio Estevam To: robdclark@gmail.com Subject: [PATCH] qcom-scm: Include header Date: Wed, 26 Dec 2018 10:06:19 -0200 Message-Id: <20181226120619.18879-1-festevam@gmail.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jonathan@marek.ca, dri-devel@lists.freedesktop.org, bjorn.andersson@linaro.org, andy.gross@linaro.org, shawnguo@kernel.org, cphealy@gmail.com MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Since commit e6f6d63ed14c ("drm/msm: add headless gpu device for imx5") the DRM_MSM symbol can be selected by SOC_IMX5 causing the following error when building imx_v6_v7_defconfig: In file included from ../drivers/gpu/drm/msm/adreno/a5xx_gpu.c:17:0: ../include/linux/qcom_scm.h: In function 'qcom_scm_set_cold_boot_addr': ../include/linux/qcom_scm.h:73:10: error: 'ENODEV' undeclared (first use in this function) return -ENODEV; Include the header file to fix this problem. Reported-by: kernelci.org bot Fixes: e6f6d63ed14c ("drm/msm: add headless gpu device for imx5") Signed-off-by: Fabio Estevam Reviewed-by: Bjorn Andersson Tested-by: Guenter Roeck --- include/linux/qcom_scm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/qcom_scm.h b/include/linux/qcom_scm.h index 06996ad4f2bc..ce5a476fd733 100644 --- a/include/linux/qcom_scm.h +++ b/include/linux/qcom_scm.h @@ -13,6 +13,7 @@ #ifndef __QCOM_SCM_H #define __QCOM_SCM_H +#include #include #include