From patchwork Wed Jun 24 15:06:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11623499 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2704C913 for ; Wed, 24 Jun 2020 15:12:08 +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 F3CF02076E for ; Wed, 24 Jun 2020 15:12:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jhtXvYXC"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="kDV2gBaw" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F3CF02076E 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+patchwork-linux-arm=patchwork.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=PkbjMtE8XKfow/drNppwO9NPt84h25M9IMEjfmRmXUQ=; b=jhtXvYXCKaNteec39lPg/dfCO G2UWu+Atlh9sQU2NO5zvN337qKoH10sStE848fEz5VcMwPTPsHY+boun3YaPYNk5u44oS6wTR3LFv w0UiEYHJYyM+H9G4ZHZdBvszhnA2zPwMZpoNhkyBti0+Z/7uPur9IB0KzQSMn68dFKzjqyWDhXjOm 3cToc0OoVSRCoFMqMxMYLVOiyHzLxYT7Hs40ADiZKPJYL82w8eKfiC4QW8mIkLI/EggaV0YfCCqA7 R+2nvnXb7zVNizAgustpmYYxb1dmL1oxlocZdXjk4X2utWZYIvmFVfxYZ35hUYfLZHV14sCQJfsfQ PYaSw7P9w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jo71p-0005Sv-PG; Wed, 24 Jun 2020 15:09:33 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jo6zh-0004C4-FT for linux-arm-kernel@lists.infradead.org; Wed, 24 Jun 2020 15:07:22 +0000 Received: by mail-wr1-x444.google.com with SMTP id v3so2660874wrc.1 for ; Wed, 24 Jun 2020 08:07:19 -0700 (PDT) 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=C0YMw50ghAnk+HJlng7jm1/7u29zz1+p4P4aWF+LxTM=; b=kDV2gBawSXjgK3E9pSWH7A3EwP21b+YwX9fkeeuRcMt8E5kiFMZWVW0uYtCNOKcJuj IlqNWloTM+FAEb+U0biu0LntpBbm0JAACtz0XyTEmV/gKbjUFfaJRomKsF4zGlZT6I6p LWpzY3Sh6pcWRuViXK7g/WZpDc1qvOlw/ZeK6Ed8mKvL+wr7SabH/mKNbAPxWZApEJFa gnE8MA+E6U/pAaKDfv5CX9jACfdEpHTXEEfxN3ZvrkXac3mtnPw7zaScjyiQv+xl5GaK nJtMTi3C+ufi2umQbtp/YQ4YV/LWR8gsuIQXPdgTB0GBXH/9BabuZmOM7P9L0JNXcm1i 8fDw== 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=C0YMw50ghAnk+HJlng7jm1/7u29zz1+p4P4aWF+LxTM=; b=Aq6uVcZg42vtX2N7f3xGHUnEOp8QDkFQL80CozCmo3XHlKnvdiIAieTZRwZit9H9Ij 9nLT5UMEaAbjBqwHHQAFTDFSwbRE/ou+2+pow5WLk2I4sET7gbT0Sgx9TA5Opgb3pJ+X f58n8z/LeCX3Rb1Z5URafF1udCM7uWWQBilSqjzst0By0p+RvqcRQhI5xmdc6z3XTgao T56U+lkQJEKRvtBOCHLScexbMmNU7etAn4IUHveW7blAUH7h10gzqx5CjKksvi3SMBgl IdAz/1cZoI+mm9iEnF7ApLyD1AoS8sma08Yl3vnKl8Q9o0fYHjTRVluLi/ysv+V4norO 3e8Q== X-Gm-Message-State: AOAM531qkaMsNd6jCKRmmkCn/c4UD/xeMi2q27q4/ciOUYImLqvMasqe 5FHK2/c3gS19ampdx0Wv8V5beA== X-Google-Smtp-Source: ABdhPJw7fzjIBqiuXbknQUNCT1qFwoGdpdovl6TpOoVdAxH9PdAL4zXdFmFzQ0XUdcgHG+7Xx0AVNg== X-Received: by 2002:a5d:4611:: with SMTP id t17mr30149480wrq.243.1593011238093; Wed, 24 Jun 2020 08:07:18 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id h14sm11543361wrt.36.2020.06.24.08.07.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 08:07:17 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 05/10] mfd: sprd-sc27xx-spi: Fix symbol 'sprd_pmic_detect_charger_type' was not declared warning Date: Wed, 24 Jun 2020 16:06:59 +0100 Message-Id: <20200624150704.2729736-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200624150704.2729736-1-lee.jones@linaro.org> References: <20200624150704.2729736-1-lee.jones@linaro.org> MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:444 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 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: Chunyan Zhang , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Baolin Wang , Orson Zhai , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Sparse reports: drivers/mfd/sprd-sc27xx-spi.c:59:23: warning: symbol 'sprd_pmic_detect_charger_type' was not declared. Should it be static? ... due to a missing header file. Cc: Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Lee Jones Reviewed-by: Baolin Wang --- drivers/mfd/sprd-sc27xx-spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/sprd-sc27xx-spi.c b/drivers/mfd/sprd-sc27xx-spi.c index 33336cde47243..c305e941e435c 100644 --- a/drivers/mfd/sprd-sc27xx-spi.c +++ b/drivers/mfd/sprd-sc27xx-spi.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include