From: Heinrich Schuchardt Date: Thu, 21 Mar 2024 20:16:13 +0000 (+0100) Subject: rtc: goldfish_rtc_probe should be static X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=6821d13fb0c40345989ef42851eed38851e7e582;p=u-boot.git rtc: goldfish_rtc_probe should be static There is no need to export goldfish_rtc_probe(). Fixes: 2d6dc19fd25d ("rtc: driver for Goldfish RTC") Signed-off-by: Heinrich Schuchardt --- diff --git a/drivers/rtc/goldfish_rtc.c b/drivers/rtc/goldfish_rtc.c index 1ace990385..3231eb0daf 100644 --- a/drivers/rtc/goldfish_rtc.c +++ b/drivers/rtc/goldfish_rtc.c @@ -72,7 +72,7 @@ static int goldfish_rtc_set(struct udevice *dev, const struct rtc_time *time) return 0; } -int goldfish_rtc_probe(struct udevice *dev) +static int goldfish_rtc_probe(struct udevice *dev) { struct goldfish_rtc *priv = dev_get_priv(dev); fdt_addr_t addr;