Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4593278pxj; Wed, 12 May 2021 08:52:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyq2/Bh/LzrQCJIMgQypf5HaNMDRyVVu95bIrT+HxIsVzr28cVCP9B5uN8GtjIza1i5Lm9Z X-Received: by 2002:aca:348b:: with SMTP id b133mr7868730oia.116.1620834765824; Wed, 12 May 2021 08:52:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620834765; cv=none; d=google.com; s=arc-20160816; b=r/ydwiMlVmzHTqDPsGKTkigWx5bYuvA6GKfdcZtRKGv/MdFeg7EjLoZtOymSedEA/D DqcMAEkjj54el+1Pq/TjhKuZ69iAB4IwT7dg3hptRPmKzJ3WJe2ltHtgtFTucUsU5+Kt 6yBNwCzWHDuASV5ZDjdwGrB9WF08liECyNXBaRSUpHJP5LKSGQZCB74j4RcKXfAYGk0W 9J9N/B6vEVuN7z/zPQFaUylrUFC9LouCtbQoDtmgJnKiXrv1JIgJyWE5tMhnWFvEIZ2m 8w7eayeOiI1RGFj7rG3tFceVxOB86U8kWqNHyZLuhqv7ErbxRKRBcIz074Sg7wxVej8j cHKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=n3NeiFNG9wR4lJXE2TmoeyJhlnHCdLHxXeMbVQvE9/Q=; b=TJm+54sT4R8jD67IzP84K87aM2AuPTb53plU6K94t8NkUGtMpZCNkC69kAEALy8X6T M5FFqJt1P52Yj6kHbn7752i3dTnSAGIYDoRPkvcXyrBGeO4LX38MRj9VmFHIq2g1ZFUO 3ZTVsb5JOkPmZInNvp8pt1vFjXd5/GrkFjQZgkuQVvRSJM2nk3KwfRGkvUZ1DoxrPhDs CN/Roq6YnHtnkx0iWpmyiChET46b5aDWyFkVqxhf1p1m2WLLueMBnrFnR+zY1UYstezo ykUd6BIGKRfjKwMl5qLJ+oyqT3hgNsE6/r21wbEg6w2n4SWTc22tab0YT+YWmyBJigzf MVHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Xwhja7Hs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f11si244668oti.150.2021.05.12.08.52.32; Wed, 12 May 2021 08:52:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@linuxfoundation.org header.s=korg header.b=Xwhja7Hs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234061AbhELPvw (ORCPT + 99 others); Wed, 12 May 2021 11:51:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:38508 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234833AbhELPZu (ORCPT ); Wed, 12 May 2021 11:25:50 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 69C8461554; Wed, 12 May 2021 15:10:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620832241; bh=RSHGaqDwsNqIeVKcrKyfNr2ZPNuldtLBIhmqbBI0crw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xwhja7Hssq5V/vLW3KcR8nRNyZ5/dYbtvVGelhLUt3dOL9Ehqk8ZzGZ9opuORv0Lm fBU0Tt7JbHO/uNNX9S6NW12PlbTnUeQiuppozCpkkxFyuIczTbCytTK175WLlahvP3 VB7Bv8qAfeqLuKZU9xviVlYp5pOvWGUlHcKVNW7Y= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Guenter Roeck , Andy Shevchenko , Sasha Levin Subject: [PATCH 5.10 199/530] driver core: platform: Declare early_platform_cleanup() prototype Date: Wed, 12 May 2021 16:45:09 +0200 Message-Id: <20210512144826.380444522@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210512144819.664462530@linuxfoundation.org> References: <20210512144819.664462530@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andy Shevchenko [ Upstream commit 1768289b44bae847612751d418fc5c5e680b5e5c ] Compiler is not happy: CC drivers/base/platform.o drivers/base/platform.c:1557:20: warning: no previous prototype for ‘early_platform_cleanup’ [-Wmissing-prototypes] 1557 | void __weak __init early_platform_cleanup(void) { } | ^~~~~~~~~~~~~~~~~~~~~~ Declare early_platform_cleanup() prototype in the header to make everyone happy. Fixes: eecd37e105f0 ("drivers: Fix boot problem on SuperH") Cc: Guenter Roeck Reviewed-by: Guenter Roeck Signed-off-by: Andy Shevchenko Link: https://lore.kernel.org/r/20210331150525.59223-1-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- include/linux/platform_device.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/platform_device.h b/include/linux/platform_device.h index 77a2aada106d..17f9cd5626c8 100644 --- a/include/linux/platform_device.h +++ b/include/linux/platform_device.h @@ -350,4 +350,7 @@ static inline int is_sh_early_platform_device(struct platform_device *pdev) } #endif /* CONFIG_SUPERH */ +/* For now only SuperH uses it */ +void early_platform_cleanup(void); + #endif /* _PLATFORM_DEVICE_H_ */ -- 2.30.2