From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ADBB5FBF6 for ; Mon, 15 May 2023 17:45:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 103D1C433EF; Mon, 15 May 2023 17:45:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1684172703; bh=7Zf61SUObHrdsdm8g725yGyBBc4+P2tZoJMiUsQk+M8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EsCcSywDukWjjLIaAytxLv2aoPUXgW+T7iyScApy+01IXn0BVTpH0KHAVWW2g9uS4 A47Wdis5nwQ545Q9yjnQU6a5ZF6To9ngwntXwrInQNLhT6d3llNfASMN/BereuKq+x GdyBertRYM7Mk0ymiYthuaR4qLv/mm/1DyNbKeck= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Krzysztof Kozlowski , Alexandre Belloni , Sasha Levin Subject: [PATCH 5.10 240/381] rtc: omap: include header for omap_rtc_power_off_program prototype Date: Mon, 15 May 2023 18:28:11 +0200 Message-Id: <20230515161747.548674006@linuxfoundation.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230515161736.775969473@linuxfoundation.org> References: <20230515161736.775969473@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Krzysztof Kozlowski [ Upstream commit f69c2b5420497b7a54181ce170d682cbeb1f119f ] Non-static functions should have a prototype: drivers/rtc/rtc-omap.c:410:5: error: no previous prototype for ‘omap_rtc_power_off_program’ [-Werror=missing-prototypes] Fixes: 6256f7f7f217 ("rtc: OMAP: Add support for rtc-only mode") Signed-off-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20230311094021.79730-1-krzysztof.kozlowski@linaro.org Signed-off-by: Alexandre Belloni Signed-off-by: Sasha Levin --- drivers/rtc/rtc-omap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc-omap.c index c20fc7937dfa8..18ae2a4f26eab 100644 --- a/drivers/rtc/rtc-omap.c +++ b/drivers/rtc/rtc-omap.c @@ -25,6 +25,7 @@ #include #include #include +#include /* * The OMAP RTC is a year/month/day/hours/minutes/seconds BCD clock -- 2.39.2