rtc: emul_rtc: Make emul_rtc_probe() static

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>
This commit is contained in:
Michal Simek 2025-02-03 10:18:57 +01:00 committed by Tom Rini
parent 8897f91a53
commit 5b280448bb

View file

@ -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;