mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 07:24:46 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue