From patchwork Mon Oct 9 15:34:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 13413929 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 88676E95A9B for ; Mon, 9 Oct 2023 15:35:22 +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=aSD6IUabuzezQ3OjJYjDCmmdRoLuJ6cGOVjoiBI6dIE=; b=ftkUaFDD+oHmh3 qLQC8dTrQkvpHQEqKOjt4X8ukT1TpMW7c5ergZ0V+YgV/xIkmEsQXgpKs5ppxWEPcoNFdBTVc8lcM AxfuuUJZ/lLRMmvuhRBgL9bN4opsjwUs9VajMxePNbGCwQKhs4OpHz3ijPHze0nC1CXd8IBQqC5Ou VkYZgW4RhXNM9qFctdjuf4RbC4yvsntQkFY2z4NRA3FRrPX7IBamC4TYoSVbtcNWEvhjsO62eOqol um68jtbnTE1YqmtRFejcBerdyYgDY/8MWRhvE4+wpIExu4jPut6pP5Xzreg/cQAwMADQfoZjiJgej o7LWf4ALFvIs1hbet03g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qpsHU-00B404-0Q; Mon, 09 Oct 2023 15:34:52 +0000 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qpsHO-00B3wa-2L for linux-arm-kernel@lists.infradead.org; Mon, 09 Oct 2023 15:34:47 +0000 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-32329d935d4so4247352f8f.2 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=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=ALY9Lnunr5db7q3qvzbnZl3K+5+m0WgnB3YOM2cNc3c=; b=zGdIrIeqXdXhd5M/TdIcuEoB2UbNCXDBIlrQoHPCFXu24enQ6LlU/ezvC9n2WNHhGX BftGTCB5/zQjdrVP5g5+yOUdoSK5rEAW3SOH8eWe5eR3Ki6Mu/Kui+f2e/GXOLGuO8Es NGwyegVvx8uRXeN4L6ni8gmZ/9YPQXJYSUQOdkJedymxxWkk5hpy/JEsNEcNGZKiOAtq KTK1JFKdlecIW3dqv9xKEPXfEhFW7eTREL0Vx9HmFmD177orBsHR9cSRewBgdZwAAE/3 52rarjnk8P2aEYoL2xBanW7iaVn3GmI+4Ua0eMqgMbEwCSOGyiC2Nl/S7fGBL+jzmgXj PcpA== 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=F0pj31z/hAMSik+rK0cP+oDIagYaS4xx10HHpgN59sch/wizkvuQbi4ykK59x6LNGR H8fXU6FX/9WJCKGt8/UCbDFK67hb56+p8PtYFTDVb302wMduFnSeq7frXYyoCJUPAbo3 XnzEv/GGhasot5Wkldn8MMENP+vsRibt+zrsJ0GGSY2qNjfw+VA/oRGIjSiKTLkmh3X2 jXRc4QOa2Kjajnr3jr0j4DIGHVkShzclUeyw8oavS4wdMOsa49hnOpry+RVz/ATMtzZt CbmC5VOf7eTk6UywCYrWlg4f/hADOuqq26IBxfVbWcqUTYYJL8l+AMIG9FtsjBgzMn9U b5ug== X-Gm-Message-State: AOJu0Yz0lYXCDBc0XjL70I/+gs7R930NrJ5Y7gINS08IVr8n0vw87quc O+6Hc614NYHm6BHGfNCIu5YmTw== X-Google-Smtp-Source: AGHT+IGfg4tN8OVm/Uv0hOiVhjVIt3rKwgD+zzMAu3rLsKW+sCrUPcY/lBvoMT8ujc86jhUTbapRyg== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231009_083446_761065_BC37BCB9 X-CRM114-Status: GOOD ( 10.14 ) 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 --- 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,