From patchwork Fri Oct 13 11:48:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 13420781 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 D8A55CDB47E for ; Fri, 13 Oct 2023 11:49:26 +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=uScs4grQ/MSnFKgCz3Zgcu5zc737oeD3CRXTUPWRN58=; b=PnmK7sFmP/TnNP pt/iijVfAJe2b3D0BhCynV3Igq5wUf3zXAIL2P8lf6gv2vJcUxl+Z3FIbkuBAdhWOw7yNkAt5r7N9 33khYfMV/cAVwzE7iTKVh/gPwTo32oJzxfbapblDx2CgWywZxGVmi66ON0C8ERQNOJYgUbWhIauNT GyjQ7N/++iBo3fvEzLBy6PmAwwE3VtRsqURwxyxY7ZyjcdN0D0EvT6Xe3d0bwDIAikvQZSAIMtXEF W/V+Uqiul6Y4hmzAxGCpWT7j1vOhrsJpSg6BT4X1Y+B5ED0EMPkC/3N9YdjAHwPudi91RFLkMBzRi Z6Di3iFjpFJgXjDpwSsw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qrGf4-003LQs-10; Fri, 13 Oct 2023 11:48:58 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qrGf1-003LPC-2k for linux-arm-kernel@lists.infradead.org; Fri, 13 Oct 2023 11:48:57 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-40566f89f6eso23846305e9.3 for ; Fri, 13 Oct 2023 04:48:55 -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=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=Z/djleLEuuC3lp+936owLmRGaug8G9ZraHIR1nlDHkk=; b=agMSnl72lBdiBriMRpJ7fMDo0QtssvtWC+vZTSOosa9oYSb/S+iuvV5L/EpQgnfF0u H00zIM5Ew6X7tGFet0sIRfIytm+wV9KonmYTMF/D5oTK6DtiyBL0vhRL4euMMfGvTI5G irJBDg50aSNudFhhZu+epUAczkNjPlCJN6C9qpjZhcaPLKoIb6cIqCWilSKHEJgNZ3/b OCqTkDUZNteitxLVDtcAJBhQ5j7QlPTM4/vMrab4I5Ii1WuS6bFmkalc5mEbHVsgaGht XUaNssZ+Xt7GbuVlE9OqGMVsqU5+h2+xOTkGPDuEpqLbPD4pZphHCjvTIpKnFOagOj5f rjWQ== 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=rOrE39dqx+YLNukX5vh0w0L+RzEMl0uZUODmFL+tG+x3NJjsk6L1UxXuHkHM+3kX7P xb8xsApn54qwifIr0+u7fHL0TI6/7liZczWUjA3b4HOKy5hTzMu/2syzvV24rYQDSWwP Oe26NEksbHN1neG8JD+OHzWrXYkPXanALTHZoHqwEzPFPuICbIBTOrEfIdUKFJv7G/Iu g5ybdwfsdUtCYiF8HrC0l3j671aVB47rdnxiX1fHTrT5ix4DB7hmhl4PqxeIhfHgiVI0 ZHAIU6Uba6iAgjY8nC4RNDZgT5ZVMjFn6s7UWXpMFORAoILQjXzrydoMMktw7ubT/6aZ l77Q== X-Gm-Message-State: AOJu0YzWI80S3xr58CnbATpa4F8JPhF6+tzXoj36OPdWxiUfmIJCsobg f8G9wrZ/BQKyJqz4waYNCRXNkg== X-Google-Smtp-Source: AGHT+IEnqeUgh11RR5em7SuKq8IrgD1o4vEng+unT6JpXvnQhWSAAdNm4wxzhZFquoM5eiAo/RcP8g== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231013_044855_889477_A98DCCDD X-CRM114-Status: UNSURE ( 9.76 ) 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 --- 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,