diff mbox series

[1/1] rtc: goldfish_rtc_probe should be static

Message ID 20240321201613.13607-1-heinrich.schuchardt@canonical.com
State Accepted
Commit 6821d13fb0c40345989ef42851eed38851e7e582
Delegated to: Tom Rini
Headers show
Series [1/1] rtc: goldfish_rtc_probe should be static | expand

Commit Message

Heinrich Schuchardt March 21, 2024, 8:16 p.m. UTC
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini April 10, 2024, 5:43 p.m. UTC | #1
On Thu, 21 Mar 2024 21:16:13 +0100, Heinrich Schuchardt wrote:

> There is no need to export goldfish_rtc_probe().
> 
> 

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/drivers/rtc/goldfish_rtc.c b/drivers/rtc/goldfish_rtc.c
index 1ace9903858..3231eb0daf8 100644
--- 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;