Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7673750imu; Fri, 28 Dec 2018 02:52:37 -0800 (PST) X-Google-Smtp-Source: ALg8bN7m3SbPyHxaxxUfHaYRsPxRzxq2Wf5fkiDYtcv7h5wU9kexP3w+GYIcupzlTQLy+lLE5FkT X-Received: by 2002:a63:d40a:: with SMTP id a10mr25443927pgh.394.1545994357244; Fri, 28 Dec 2018 02:52:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545994357; cv=none; d=google.com; s=arc-20160816; b=GrDECCqsi3P7E7Wo+T5xvIMhPdpkblp2XNL2HdLZLXhvTAER/QlKiSbmlOm+rR+fSd GhD8YdRymGTgTlmJD9jZsLsKbNeSSB8y+XlNVYXPbuCSTvSdLeEnykq3im1Pwlnkh71+ pjhOkgaECUmk3xfrlPZS3D1hACIP/EHb7uEIrHWNyc5qyfPv6I1+Wpc6g554q/TTuM2t i0Lgh/XyWhFWg/i6n2gzIJOPqX149XJGmjv/65D/SeUjxavwoak3J8sK3B81nGb/eMDp QqK0JKp2IHLaM3Bjp+NvwktIY9dMNV50G+mQUyw26fBPQYvVykh4Nr8/9wPnyBK8Ev1F zpgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=R4tg3g4n1RdHsLdfnq8nK362b7ENi8WNhkDpTtH1qCg=; b=vmyIdabSQBJl77LsDIixdBhJFhdzI+TLE0ncjZG7ejIJCv1Y2wO/zyJ5sjVC0OnGuI OODZYGbSLxtlNM31WKs/00G7aA6H84w/GSCP38RuooOudO6OMi7qYt7eqg1rn1U3pDeK /X/mC+d3s+lRARwZpMHUu9DSefDzxGRr2hSw7sfnEC+H45tFt0QFrwPCXc0Lwp2z5dLY DrA+ellhoipxCmOGmS2rCWyDvmSGkaaFigCkV0LDhXDUvVynIkYjddmEYkeDm/jKGMiG Sgrt0xSqXySTFGtgOdih71tHivZDUzzqjVJAYAZAPyachs/0WFreJL2P+AJUzoyctF3C APeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=Y6wBmBrG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y1si25054933plt.356.2018.12.28.02.52.20; Fri, 28 Dec 2018 02:52:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=Y6wBmBrG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731269AbeL0Wzc (ORCPT + 99 others); Thu, 27 Dec 2018 17:55:32 -0500 Received: from mail.kmu-office.ch ([178.209.48.109]:43316 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729108AbeL0Wzc (ORCPT ); Thu, 27 Dec 2018 17:55:32 -0500 Received: from zyt.lan (unknown [IPv6:2a02:169:34b6::564]) by mail.kmu-office.ch (Postfix) with ESMTPSA id A2EB75C0089; Thu, 27 Dec 2018 23:55:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1545951330; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=R4tg3g4n1RdHsLdfnq8nK362b7ENi8WNhkDpTtH1qCg=; b=Y6wBmBrGEvgQyVBnh930CxaxKJH//NVnhW0pskpOVIJ9+9JH91dAnghuGducc9ST+AokPA nGCZMejd+5jpxFUa2nzQWAOgvLenerK+B0xd8HI3HNxLTjN6aItL99WrUj3QmievLSWUco Cb43Yj5bnPU3/tl9jy4B868OxlC+p4w= From: Stefan Agner To: bjorn.andersson@linaro.org, robdclark@gmail.com Cc: jonathan@marek.ca, linux-kernel@vger.kernel.org, Stefan Agner Subject: [PATCH] firmware: qcom: scm: add error include Date: Thu, 27 Dec 2018 23:55:27 +0100 Message-Id: <1aacb9e81111ce0cb45b95dcbd80b86296484c20.1545950884.git.stefan@agner.ch> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In some configurations the preprocessor define ENODEV is missing leading to compile time errors (e.g. when using imx_v6_v7_defconfig). Signed-off-by: Stefan Agner --- I noticed while compiling todays master branch with imx_v6_v7_defconfig: In file included from drivers/gpu/drm/msm/adreno/a5xx_gpu.c:17: ./include/linux/qcom_scm.h:73:10: error: use of undeclared identifier 'ENODEV' return -ENODEV; ^ I think this only got uncovered due to e6f6d63ed14c ("drm/msm: add headless gpu device for imx5") but it seems to be a missing include already before that commit. -- Stefan 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 -- 2.20.1