From patchwork Tue Oct 17 09:27:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 13424892 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E468CCDB483 for ; Tue, 17 Oct 2023 09:28:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LQTLpyZKgn3vrZqVgRDr9cFIictgV73qmRhf0NTMj/A=; b=fiOdwtmeQ8o5Tp NEWSKZZdeO3OcQNCcmxU15BmwGXIHNmnNsdnQO6NoK8Fuu3M3voilreyyylifqZjkNVGZJ08wfxhy +UgErpwDdsa2zrVJJ+7POLg/VfIyPXhvVuvRQGVdZ1ijMkhs7zUmytb+ASz0AYShxZmDBWQ8opHcq gmJSpnMyI0KwBsJc8oMiWa1WaACVzEOVvh9eBSSDEfXBIyvYoCA/DCMB/LNMvV87LR0TQfW6axW5f IcsXlZlUeYl5RcBtySl4dOkc5GsT7f9+jeiCQK4844W9g2mEpPCCXd8ARM79HAp6NnHGp2STjKJxC mIlTOJJljmIG1RII7sTA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qsgMe-00BoGA-03; Tue, 17 Oct 2023 09:27:48 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qsgMX-00BoCs-1B for linux-arm-kernel@lists.infradead.org; Tue, 17 Oct 2023 09:27:42 +0000 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-40684f53bfcso49723265e9.0 for ; Tue, 17 Oct 2023 02:27:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1697534859; x=1698139659; darn=lists.infradead.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=wdHDDJZrqGKthAApkZq3pqc2t33juaudfCs0f3QX1GE=; b=FOcV/XkbWRKwIyPU9Vuf63ZbrM/Nl8SBl58CNetff8CwnCzz+tO5OHv5k+AkTCBJ/T vcUg7SF/uxsRQLtJORlBZJU0rcpgzdJvH8RYwEvXSMFx4SRMnr1QzQ/ZVxMKTgUn66j2 qDD26CaGR9pzLnNK9vkfVveZLEG3n9PJHA7qr/3+zK+0k9mi7ECGEPoRdE3l3GDwrFQ5 LPUZlOOW3A9qDYq7gXwrTe20rKwkF9lZ4qQuMO9dZqM4LYCDKPnJerR71F3YsS9TeC0x aBqLIUa/LeLRONSFnj8KhvIs80DWm7FNt7YrFF6e70l8PuV2VIaoA760atokfPPPzdzC WmXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697534859; x=1698139659; 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=wdHDDJZrqGKthAApkZq3pqc2t33juaudfCs0f3QX1GE=; b=WYzdpUWpev1X2xLfleOpYzkOnegMb7tySLaNGvJvOI71hh1L0nDLM1p52kH3tYJtmd 7I/gRQ8WycgpCSr4lGzlJfW2TUjTEjucXz2V3Zn45DCPDEBuAIcZw5PizyM/pLjr1Mm9 y6VSkJLMKEPZsijFmrKCzCsVZAlIflMdkPaBQMSWW5Cr1TR20oXHMjkDRWdGPHgsNkHw R0xQX3JbrDuvO9Koeyontg4rhs+Jk4hs1/IuNvINUrzDZeP7oV8+yILe1lFpTRCod0l0 7RAnldCfYWpNqDNHIVoA/gx95DUGDgN4KaNlM9LaIAfzo5qnDehjRxtiGWrBGd59HRDE iuXw== X-Gm-Message-State: AOJu0YzsXWkTakW76PeCb7bxzyC6pA8Wzvf0O1nRHWFRgJ2gSAi7m86P lzpvndv3jbk4c6yQy9stKqnXOA== X-Google-Smtp-Source: AGHT+IEDwhrjWqPOqoLLCHRHroFyHYFz15ToEvnfJ2Aqo0CkGMKq+MaSnOQCPyCwv7zFi6Vs20XR0A== X-Received: by 2002:a05:600c:1c24:b0:407:7e5f:ffbd with SMTP id j36-20020a05600c1c2400b004077e5fffbdmr1308315wms.8.1697534859229; Tue, 17 Oct 2023 02:27:39 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:f1ee:b000:ce90:ed14]) by smtp.gmail.com with ESMTPSA id j5-20020a05600c1c0500b003fe1c332810sm9460787wms.33.2023.10.17.02.27.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 02:27:38 -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 v5 02/15] firmware: qcom: scm: add a missing forward declaration for struct device Date: Tue, 17 Oct 2023 11:27:19 +0200 Message-Id: <20231017092732.19983-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231017092732.19983-1-brgl@bgdev.pl> References: <20231017092732.19983-1-brgl@bgdev.pl> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231017_022741_403540_259B12D5 X-CRM114-Status: UNSURE ( 9.74 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Tested-by: Andrew Halaney # sc8280xp-lenovo-thinkpad-x13s --- 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,