[PATCH 1/1] rtc: goldfish_rtc_probe should be static

21 Mar
2024
21 Mar
'24
9:16 p.m.
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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/rtc/goldfish_rtc.c b/drivers/rtc/goldfish_rtc.c index 1ace9903858..3231eb0daf8 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;
--
2.43.0
394
Age (days ago)
414
Last active (days ago)
1 comments
2 participants
participants (2)
-
Heinrich Schuchardt
-
Tom Rini