]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rtc: goldfish_rtc_probe should be static
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 21 Mar 2024 20:16:13 +0000 (21:16 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 10 Apr 2024 15:34:53 +0000 (09:34 -0600)
There is no need to export goldfish_rtc_probe().

Fixes: 2d6dc19fd25d ("rtc: driver for Goldfish RTC")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
drivers/rtc/goldfish_rtc.c

index 1ace990385883bd0ca219b63f9adc868a2a16f50..3231eb0daf8337a360a20b87973c95dd664912a2 100644 (file)
@@ -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;