git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8897f91
)
rtc: emul_rtc: Make emul_rtc_probe() static
author
Michal Simek
<michal.simek@amd.com>
Mon, 3 Feb 2025 09:18:57 +0000
(10:18 +0100)
committer
Tom Rini
<trini@konsulko.com>
Mon, 10 Feb 2025 16:29:10 +0000
(10:29 -0600)
emul_rtc_probe() is not called from anywhere else that's why make it
static. Issue is reported by build with W=1.
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/rtc/emul_rtc.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/emul_rtc.c
b/drivers/rtc/emul_rtc.c
index
97a8d9b
..
6817daa
100644
(file)
--- a/
drivers/rtc/emul_rtc.c
+++ b/
drivers/rtc/emul_rtc.c
@@
-58,7
+58,7
@@
static int emul_rtc_set(struct udevice *dev, const struct rtc_time *time)
return 0;
}
-int emul_rtc_probe(struct udevice *dev)
+
static
int emul_rtc_probe(struct udevice *dev)
{
struct emul_rtc *priv = dev_get_priv(dev);
const char *epoch_str;