projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32bc256
)
rtc: goldfish_rtc_probe should be static
author
Heinrich Schuchardt
<heinrich.schuchardt@canonical.com>
Thu, 21 Mar 2024 20:16:13 +0000
(21:16 +0100)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/drivers/rtc/goldfish_rtc.c
b/drivers/rtc/goldfish_rtc.c
index 1ace990385883bd0ca219b63f9adc868a2a16f50..3231eb0daf8337a360a20b87973c95dd664912a2 100644
(file)
--- 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;