mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-06 15:26:58 +02:00
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:
parent
8897f91a53
commit
5b280448bb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user