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: 191692 Delivered-To: patch@linaro.org Received: by 2002:a92:1f07:0:0:0:0:0 with SMTP id i7csp677478ile; Wed, 24 Jun 2020 08:07:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlh7RCPi/3L7Z6rY4GjU4m4VBKE62hfJ77/JiBfDo2ECZA8VCmqjr2OK10nJIJ9spnd0FX X-Received: by 2002:a17:906:1d5b:: with SMTP id o27mr25106737ejh.344.1593011276347; Wed, 24 Jun 2020 08:07:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593011276; cv=none; d=google.com; s=arc-20160816; b=htmOmVGyz1zsl3szw2uIZ6j7nSPiiAT68Az9YTSxjrv0YFM7JlTRPqqh1d+tqo3FhP 2dv0qgtq+lBep3k6xD3I1I/kQtxdS1H0hr9j58/P2umdGAL0xLezLrJGv7xc1lCur8/V HYzKA6wtC+tds89PT/mFy/UBf12x0tTbY1WT/rFHXPW0rX/kE4NPskXM0BmlmCspkAFt Q79bcKvvidsse1lMcBettyMMt8xLYYV1t5b2ZfH2TlfKGtaz09QUYSSZA9B1U3/D+zUz zK38YEEoT++UD2v1nPTVtWv+PgvoxlkYfIHp3XpTPSipiQCRIsOKdZFYnnEKCuQj/SX/ D59A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=C0YMw50ghAnk+HJlng7jm1/7u29zz1+p4P4aWF+LxTM=; b=MJ8ORf3nCx8VWuE33Yv+QntRlxLeMXbyQQJNtUuvCFuXzSu2/mr4M67VOGFMrAfh4H PM9tQrqYKF05pcaeTLVNRnr6c2B9zCAszyP1TZ3muf/B7L1Sg4rQIOG2qi5E29d2nHP2 JKWlEhJ0DuJJQIB9iedfOuObsremSg0vEuLa0W7TieisskX2WIMX8qsYPoFP8IgNEsi0 rzDfz+LbPmFlC3NrC5azpmio1l2F7TmSa8mE9Xl6CrOxFYYcuN2ZN02Hv5sQvnL1BF8E Uc9C2JHn9wg+PN2HLnn8WifpRJW461CRRqKIY56TL/j7bnKbM+fiogA2QFwtkOnxrGIH +IVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kDV2gBaw; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mh8si3774491ejb.245.2020.06.24.08.07.56; Wed, 24 Jun 2020 08:07:56 -0700 (PDT) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kDV2gBaw; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404243AbgFXPHq (ORCPT + 15 others); Wed, 24 Jun 2020 11:07:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404187AbgFXPHT (ORCPT ); Wed, 24 Jun 2020 11:07:19 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65D52C061573 for ; Wed, 24 Jun 2020 08:07:19 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id z13so2640718wrw.5 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=C9OqMAfYD0pDrvxmwlnkeZhlXQxrK5K2f7ODkOVjVHb+1+tcHpKls1l2ucNKcW4RCn CuYKTdp4RmgKqlKSm/DBJJDr72poSBSZ6O69iYih3O7hN2IGy2ICMdoKc3PoJ6XobOP6 soQ/WXW0HstfXVyYHYpil+/XAbXH+cEWwK2lAJQmTWNjAz8ZO713ojCdl62LrzdZlqw8 jAkdOnCtpoUybkbocZoUBrtozriMYU1PTV/Lj2UGJUI8nUfG8Gop89aB/SZ+AVv1bekR UWdGM8iseOhytXlyyaTYQdq6G86yn3nLKioTFyOm4reG9QRWEvLL9ueHZCL9b9iSFDR4 ELeQ== X-Gm-Message-State: AOAM533oV/DlKqhZb+kOVI3Q+2IU4akGxXRmQwOXAoYaHixrA2OFxNZU qO0YMRel/EDeqw/gxCOItZmJsA== 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Orson Zhai , Baolin Wang , Chunyan Zhang 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 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.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 --- drivers/mfd/sprd-sc27xx-spi.c | 1 + 1 file changed, 1 insertion(+) -- 2.25.1 Reviewed-by: Baolin Wang 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