Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp897869rdg; Fri, 13 Oct 2023 04:49:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEzbUaVCPJfUXMpApuyIWcjrqNtlXffx+Wdyro4eqHY+0s20D3s3Emdp/hsUHNCQ4DeJxA5 X-Received: by 2002:a05:6a20:431a:b0:159:6b5c:5653 with SMTP id h26-20020a056a20431a00b001596b5c5653mr27501200pzk.37.1697197765267; Fri, 13 Oct 2023 04:49:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697197765; cv=none; d=google.com; s=arc-20160816; b=netTfPd07epeCC6eixwJ2Ur2544X66j0RNrLe42IzNW9brPLa4UEnFrdaEWfYHWTQ7 aKBZ+5sn7j0bIpFTYYmdV0jGX12m927+/Kjxztm1VaMpnlHoRVUl6QIjLW2CyCPTatBU VJMvaSDzLapUOHy8JdIfsYSnNXhVoip1JzZYaiFK1VzOC7KTYKTm4EO47bbP6Ab7FCr6 e7Hn7gPeT8sV4bvhaDmmXGXm8sLHMBwBIYuFe33I2tGki8y6Qt7Nb3kXHlFtllVyhrQy Xf7mZkqXvV33gryXuJs7eymf+U1x6r8pyMiPuEYrw9ByIbwwcX8U2+/PvjcqlKvtSRdE NBXg== 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=Z/djleLEuuC3lp+936owLmRGaug8G9ZraHIR1nlDHkk=; fh=lirm1ccAeXZZB1cIo+N1DqklpgcFmD/vJ7PCWNIL0HU=; b=rmGFQjef7UORZm6e0V0BG8YX+IutMu3PLCUhbHXN5Wj31ifqnyEBR3y+K339SggWiY /FqI7JUW83TmQNtUov8D6fNm+q2G/ELse8pZBL2bDfe/LymBVjPfJLoC8UetZAtRub51 q8Dj0xpNeAr4LORYPtUMDlt3iv5r6EGcLl1ddvtTMQyIG911/wO7ej0VyYKa6fguToza zNwdZ9b2gkK/xw66x8w4dGG++ydZJpg7O2gzBsW9QETXIHT1ASYBKQQnQBWydP3kjxlq mougQoH5IRE3De/zbaOlWVBhMcvoVzGzvjFke0xYLaVmtsz/1hWedvsDemjV1TomnH6g UgSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=vQpLq5BE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id d11-20020a170902cecb00b001bf1973eafcsi3722656plg.571.2023.10.13.04.49.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 04:49:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=vQpLq5BE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 1D1D1802B104; Fri, 13 Oct 2023 04:49:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231518AbjJMLtE (ORCPT + 99 others); Fri, 13 Oct 2023 07:49:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231447AbjJMLs6 (ORCPT ); Fri, 13 Oct 2023 07:48:58 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2350BC9 for ; Fri, 13 Oct 2023 04:48:56 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-3231df054c4so1661434f8f.0 for ; Fri, 13 Oct 2023 04:48:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1697197734; x=1697802534; 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=Z/djleLEuuC3lp+936owLmRGaug8G9ZraHIR1nlDHkk=; b=vQpLq5BEsHSJFDIWyeTUwztlXitR5jTrGFpQtMZPzSvJGXXdASYTeB0N9Koq2dCG5f kJx4U2IBoDC2MvsI6bnoOvmuqa33ESasC5tU0f8YLxlq+Ag4vonSB0UK4j0F8+A0BRDq FaqwYDMsguDkDhwUERaa7Q/UtKK+rXq3yPJ2tQVq2p1dEq6UbNWO2db7PjeeE27bMKDP 00hwLmwQtVo0fbVqShSCEmFyREZYRgOtJzCmHG1eHK5ape1tZseI18/jf0L/1R5gblSy PtJwAgfZEE10ixYgYrCPYcnywCf1a7X5RBXAW9DL64WpXtSMuc55z3QeNdEhJNdOjscf H3rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697197734; x=1697802534; 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=Z/djleLEuuC3lp+936owLmRGaug8G9ZraHIR1nlDHkk=; b=M6y0cPgWyaDXxsnx/M3KzHPLXn5TV4g0h+Fl8z3H4pNnb7Wau9aiVJ5bPhN8f6v+vn 4/sOU+QuuiURU+L83DH3NvVO9XCHV3NqCGsxaQjEUdGDJkOlEs2+GS1aywLM+bk7OMrH 5riPsrqzKjEvW4oDFYwKNR/LsV5PetR8aVioPtmTW+psh3shoxGIK8ORzTrn1sgGsdGp v71N1YU484zeynW3svWaJBQtcyoa0J8iEM8TnlsXeDp9DlHWqcHxwH5LWHfQM78b+wCR RcwXUTww8yYnJQC3jSKRtjDvKA8bJ2M5xhtuU3xgUqRmk39chxPZJ+5kE6E85X+0fONJ aiiQ== X-Gm-Message-State: AOJu0YzCq6xVzPE3L1Zt8PHLNYoyQLDsj5HN5545CZXt8v9LaK1G/IMh te9eApgVT29wZkvGWzOly7LvVA== X-Received: by 2002:a5d:5106:0:b0:32d:a101:689d with SMTP id s6-20020a5d5106000000b0032da101689dmr332421wrt.56.1697197734660; Fri, 13 Oct 2023 04:48:54 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:4209:13a:988d:80be]) by smtp.gmail.com with ESMTPSA id j23-20020a05600c1c1700b00407754b998dsm974509wms.27.2023.10.13.04.48.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 04:48:54 -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 v4 02/15] firmware: qcom: scm: add a missing forward declaration for struct device Date: Fri, 13 Oct 2023 13:48:30 +0200 Message-Id: <20231013114843.63205-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231013114843.63205-1-brgl@bgdev.pl> References: <20231013114843.63205-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Fri, 13 Oct 2023 04:49:20 -0700 (PDT) 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 Reviewed-by: Andrew Halaney --- 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