From patchwork Tue Nov 3 15:28:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878083 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 645C9C388F7 for ; Tue, 3 Nov 2020 15:30:29 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0679822370 for ; Tue, 3 Nov 2020 15:30:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="c6i1KW+W"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="b+gceZvO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0679822370 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=QNA1HAc6o1yzlHyxXTt0cvlkWcpy+8W+Uhxe0shxBss=; b=c6i1KW+WRgYrnZ0rtHwHhh9mW owODZeGnP6wNuilu4Sp5rOPWYs6PnhUVmNBECTJFG7i0i1lf5i0d5YBCseWUVHXd3GX4FCgZvrAO/ XdvhdUMmrsoSFeYomU2g7Qh6E9Sa/LThX52bGvV0+vMI7X4nYsNs5ahi0LjFVyFmT4daY80MF199H zaMpRsnTpnAXXJagqNJadrCA3YfhKGM5A6H84Uo0T+0bVQxYtxli0fpgy4YyVPsXJf5+wcH6xHT4Y jd8n/znowzZJDHRX9UyAsxQre/ApF5LXTFimgGbWF+YWLr5BhW3TZ9j3ul8t1i51QuDDbUtpPe/3B /ZckCXVHQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFj-0001vd-Gq; Tue, 03 Nov 2020 15:29:46 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFG-0001gj-AK for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:16 +0000 Received: by mail-wr1-x442.google.com with SMTP id n18so18996272wrs.5 for ; Tue, 03 Nov 2020 07:29:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZKNnsnkWS6MTTEoKsqQtDIZ+4degecWTbpTZPcWfJk8=; b=b+gceZvO1/GgJmrQD955pgpXJRkruP0AX2yVligjCZRNpbFq7n3Ezy68+aqLYDzEKV OJLSrEtpaNgudNQ5MNBWQynY+iG+EthpLQiXI1KwtjFLVY9LLv7iCHPbjEONTPAKNRH7 LmN1uBtT2wVjkgA62wWnJ03DqqLTXo4xB9IkVs5gKjSHE6xtfreHo6EgPipawL7aZkP/ c3iQKnzgo/wqG9D1ZGfVnwUIoUJzmEncZrlKx4moNvTmUGr6fENn+nNa5b0PaPFT4pzg qUL47Gy4Vl2699HKxn0b+kMosNUDFEtE3gjWO8tecY7QR+0pNyAcLSAlDGboTXwmiPAa uY+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZKNnsnkWS6MTTEoKsqQtDIZ+4degecWTbpTZPcWfJk8=; b=t/tUhKiGEUtXUI1Fi2uL/xqkOsYbcmY+biW1A/XUPqS2P8WYZC5wHdC5vorh8VEgcG fYv3UWI7qtlzOQVP94yQakBDpWqLGLRzS14EDgMvlF6m+KJhuaiwlXfSs5MXHwjSeawf hwO6TiE41n4UARueGJmMsK++UpmQQl5N3ZUxSy913B1TmBsHkjYgHuhBA1xOW2S7LFwa MohMxncKbFNks8P2OyKFd7omeuLbF54mfY87utBIK2QPhOTj8ZYglcf8OprYxY/ba8xA em9Ncnporh2NosCj+TneOB0XMA3cNafBBv93S5rg3KY+a5/rKxkqnH497N4ksbHsuXn2 UjXg== X-Gm-Message-State: AOAM532/o6l7LTMxrMG5wTkb/Dg6yEBap21djA5TkXJWJJ+6MTlyWAt/ 1J954f1/zFh3VvzFmwulMno7tA== X-Google-Smtp-Source: ABdhPJzovp2vbFtDJY2ojcAcjM6l+8ZXESDvb4+bTd3xREAsY16r2NFZy3zpUu13sdE1lyQFiOLLMQ== X-Received: by 2002:a5d:46cf:: with SMTP id g15mr28532757wrs.342.1604417351660; Tue, 03 Nov 2020 07:29:11 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:11 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 01/25] soc: bcm: brcmstb: pm: pm-arm: Provide prototype for brcmstb_pm_s3_finish() Date: Tue, 3 Nov 2020 15:28:14 +0000 Message-Id: <20201103152838.1290217-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102914_438464_4DA886D8 X-CRM114-Status: GOOD ( 12.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Florian Fainelli , bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org brcmstb_pm_s3_finish() cannot be made static because it is referenced from brcmstb_pm_s3(), so let's provide a prototype for it instead. Fixes the following W=1 kernel build warning(s): drivers/soc/bcm/brcmstb/pm/pm-arm.c:395:14: warning: no previous prototype for ‘brcmstb_pm_s3_finish’ [-Wmissing-prototypes] Cc: Florian Fainelli Cc: bcm-kernel-feedback-list@broadcom.com Signed-off-by: Lee Jones --- drivers/soc/bcm/brcmstb/pm/pm-arm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/bcm/brcmstb/pm/pm-arm.c b/drivers/soc/bcm/brcmstb/pm/pm-arm.c index b1062334e6089..a673fdffe2163 100644 --- a/drivers/soc/bcm/brcmstb/pm/pm-arm.c +++ b/drivers/soc/bcm/brcmstb/pm/pm-arm.c @@ -111,6 +111,8 @@ enum bsp_initiate_command { static struct brcmstb_pm_control ctrl; +noinline int brcmstb_pm_s3_finish(void); + static int (*brcmstb_pm_do_s2_sram)(void __iomem *aon_ctrl_base, void __iomem *ddr_phy_pll_status);