Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1973775rdb; Mon, 9 Oct 2023 08:36:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHjQQ9Ocydxwo7Yae5IzFp+zEPrckcmGX3wE7Pkjg/47EZtl2MPJxTH6zr+ZHospJA73h6S X-Received: by 2002:a05:6a21:1a6:b0:16b:afc2:3b69 with SMTP id le38-20020a056a2101a600b0016bafc23b69mr9139136pzb.36.1696865778035; Mon, 09 Oct 2023 08:36:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696865778; cv=none; d=google.com; s=arc-20160816; b=W7/m5tdF2+ENOpcHXIgzkn/hT/KS2aXOKydnfgDeBdCWutzq9Ba8Rw7mQmI+E6jhaj KMC/fLWYkFnoyLcyGFYenB6fCdK3Rt/FAVF96cDeXQ3UrQRav9Gg7M1TQFJSmGqhtOe0 O4urNhxi3ezfWC5S/CGqiqFoNr+VnD1zZe6ga9OhiejRPWluwYcWSnmW5V8eOe4TVXCV LHT2brLvo+iwxDsbVIAVJWiKpcmBozth1JzrxQAtY3sO4PeBGqtp9DbEr54qCyKExQKE dTcaWT28FmbFtMitXdHsn3Hfw02Z4CCx6+cTHtaEU8LJGtMZs3DImPhG3vJmFfRrIpsA NHNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ALY9Lnunr5db7q3qvzbnZl3K+5+m0WgnB3YOM2cNc3c=; fh=lirm1ccAeXZZB1cIo+N1DqklpgcFmD/vJ7PCWNIL0HU=; b=FWztSsSCTglxe+t8LCybmS+fez2wFrMO9/3FXePD0eTZVM4Kkyhz4isvD6UYXS3q6L AtNN1fNvBrpgADV0nr9n8H5NEcjOvc1U5lDp94ETUJ00sgH3c/46dMEfhL2zmtzhaF49 mjNoiwKQnMUiVkdDSXccl3D1GseIDd5VY92TkJqAwJ/Av+RT/p/MbZ/fmV7MZNo2AYDH /2YXl2G9xjPXuCZmvQcirVechoueQbn9dzOQupqYD7xZnCdoz0AnpDEPG0hkCKIezvUw rIHl3lPkJUkuBEX/Dw7YTTrikp8/b6yGna8kmRSeDn1DEUf9uAcaUDrpUM3wfNZhtL6l 9EBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=U5dMPCLF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id c5-20020a6566c5000000b00589336ba9f7si9763736pgw.822.2023.10.09.08.36.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 08:36:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=U5dMPCLF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 8E326804C218; Mon, 9 Oct 2023 08:35:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376861AbjJIPes (ORCPT + 99 others); Mon, 9 Oct 2023 11:34:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376862AbjJIPeq (ORCPT ); Mon, 9 Oct 2023 11:34:46 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF074DB for ; Mon, 9 Oct 2023 08:34:43 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-32167a4adaaso4246371f8f.1 for ; Mon, 09 Oct 2023 08:34:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1696865682; x=1697470482; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ALY9Lnunr5db7q3qvzbnZl3K+5+m0WgnB3YOM2cNc3c=; b=U5dMPCLFeBW+gQNwXC0lL/5mFGoequVC1tXdyhFwK0k3ONpevPplSSBIC1eEtxGjur ZhyOxqz7kW8uSjXMKP/07SY47iAI1GzmkVPDqYLItSsMzUKRsOQY7Ce6KuhzY1GgPGNi 3UA27y6Ngm/yb9//v4cz05seMVWgPROTkWDyb8CYXJW+wyg+TnGkiSuo55vruMSk3UTV xMPQAo4ZqHOxy3GXdA7XJlKFVElXUYZt9zlJ6IUmQCT1+F7IX2ykYv4dNRgfYfovZowx Lzgr6gt5elr2VxbKqLcKSTvCwUhkBRWo3czHTAVfC2ehhBS1KUl8auKe/31Ke+4MyZby 42Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696865682; x=1697470482; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ALY9Lnunr5db7q3qvzbnZl3K+5+m0WgnB3YOM2cNc3c=; b=uUPaTkjS0iZ8gL2lizGHmrSjdvD+qZar/YIAZDT9BWw1QZY6whtHXm9CUuEvjxNu4D FQ9wcddxviuNFVEZHAsLzifnFSWjEdXxKPk98gp/nHhh9HEc6zjeCMBn1lODSu3sz/J7 jcNiMDFXfGWvtjRtPzm5yMkjn5N+cYTklcggl/uuWgCa9fxnr4FqBYiD3XNsaYBpipsq mM7DNG4pWdzAmqs40iWKLxMyJM5hBnI1YKrNiqm4OaSPsenOmJSyOLcOr2wo2cDIDkwe Hl/Jzw7pwVhaiNZQxnHe/QnVTS41bza+jV+dZUlL54/kSMcUmzP1U4n7NynKVELQ4Dtf DkHw== X-Gm-Message-State: AOJu0YxSPPdgf3ZW/wD2S7qURYCALjlW1BJcrAYXZ8BGt/6BPmjogYyA +yuc5Ow6aZX9wGcfJ0AJ8O4lDg== X-Received: by 2002:a5d:4f8a:0:b0:319:7722:30c with SMTP id d10-20020a5d4f8a000000b003197722030cmr12432000wru.22.1696865682327; Mon, 09 Oct 2023 08:34:42 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:f20d:2959:7545:e99f]) by smtp.gmail.com with ESMTPSA id b3-20020adff243000000b0031431fb40fasm10016521wrp.89.2023.10.09.08.34.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 08:34:41 -0700 (PDT) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Elliot Berman , Krzysztof Kozlowski , Guru Das Srinagesh , Andrew Halaney , Maximilian Luz , Alex Elder , Srini Kandagatla Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@quicinc.com, Bartosz Golaszewski Subject: [PATCH v3 02/15] firmware: qcom: scm: add a missing forward declaration for struct device Date: Mon, 9 Oct 2023 17:34:14 +0200 Message-Id: <20231009153427.20951-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231009153427.20951-1-brgl@bgdev.pl> References: <20231009153427.20951-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 09 Oct 2023 08:35:10 -0700 (PDT) X-Spam-Level: ** From: Bartosz Golaszewski We reference struct device in the private scm header but we neither include linux/device.h nor forward declare it. Fix it. Signed-off-by: Bartosz Golaszewski --- drivers/firmware/qcom/qcom_scm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/firmware/qcom/qcom_scm.h b/drivers/firmware/qcom/qcom_scm.h index 7b68fa820495..c88e29051d20 100644 --- a/drivers/firmware/qcom/qcom_scm.h +++ b/drivers/firmware/qcom/qcom_scm.h @@ -4,6 +4,8 @@ #ifndef __QCOM_SCM_INT_H #define __QCOM_SCM_INT_H +struct device; + enum qcom_scm_convention { SMC_CONVENTION_UNKNOWN, SMC_CONVENTION_LEGACY, -- 2.39.2