From nobody Tue Jun 23 18:15:17 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40486C433F5 for ; Mon, 28 Feb 2022 15:27:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237529AbiB1P1s (ORCPT ); Mon, 28 Feb 2022 10:27:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237174AbiB1P1q (ORCPT ); Mon, 28 Feb 2022 10:27:46 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 154AC8093F for ; Mon, 28 Feb 2022 07:27:07 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id BA29DB811D2 for ; Mon, 28 Feb 2022 15:27:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE0D7C340E7; Mon, 28 Feb 2022 15:27:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646062024; bh=kFhWjGGPF0HOMSD41o5huv2osoCwgvTkZ3Q334nGLzY=; h=From:To:Cc:Subject:Date:From; b=gn3F5ZL+dou8lTgfyLNm181boVHfFi+CTyIt/fDJtEMsk00674yLi6uEWrBRqz2EC rWdAi7n5FTg5oOA/k3VIZ/FlW7A9FsC0Hf99O+46B82BI5g4xxsoSl6nSB3UL+Q7ia TkoyE+Ne4nSdi+OzagxH6CAJ3cSXWx9Ug3cX5aZJhEjH1ygv6VyHlWzW/msM5wEkAt sn8nU/Qo2ndeTO79tMwOXgX0+xOfNWSK0B+Arpx15XZEebqLlXuVVekSt4AmbqipmY 4kSMGfpqhTyXW/rrhhsI4eJ02lyEfBPwO+k1gty5GZx8XHK3aCBpwaRhrAIkJLu5Qv 386CwB06NKMfQ== From: Arnd Bergmann To: Lewis Hanly , Nathan Chancellor , Nick Desaulniers , Nicolas Ferre , Conor Dooley Cc: Arnd Bergmann , kernel test robot , Jassi Brar , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: [PATCH] SoC: polarfire: fix build warning Date: Mon, 28 Feb 2022 16:26:52 +0100 Message-Id: <20220228152658.3367506-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Arnd Bergmann The newly added driver causes a build warning because of a missing prototype: drivers/soc/microchip/mpfs-sys-controller.c:76:6: warning: no previous prot= otype for function 'mpfs_sys_controller_put' [-Wmissing-prototypes] Link: https://lore.kernel.org/llvm/202202260947.F5T1YNao-lkp@intel.com/ Reported-by: kernel test robot Fixes: d0054a470c33 ("soc: add microchip polarfire soc system controller") Signed-off-by: Arnd Bergmann --- I've applied this to the arm/drivers branch as a fixup include/soc/microchip/mpfs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/soc/microchip/mpfs.h b/include/soc/microchip/mpfs.h index 6466515262bd..969b5239521e 100644 --- a/include/soc/microchip/mpfs.h +++ b/include/soc/microchip/mpfs.h @@ -38,6 +38,8 @@ int mpfs_blocking_transaction(struct mpfs_sys_controller = *mpfs_client, struct mp =20 struct mpfs_sys_controller *mpfs_sys_controller_get(struct device *dev); =20 +void mpfs_sys_controller_put(void *data); + #endif /* if IS_ENABLED(CONFIG_POLARFIRE_SOC_SYS_CTRL) */ =20 #endif /* __SOC_MPFS_H__ */ --=20 2.29.2