diff options
author | Samuel Holland <samuel@sholland.org> | 2021-11-04 06:55:12 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-11-04 10:57:19 +0300 |
commit | 30ba45dbd6f3a470c739bd5db0663bee86b4cbf6 (patch) | |
tree | 7f2bcd8c9e31ba9139a58962e80f629a8e2c92b0 /drivers/sysreset/sysreset_gpio.c | |
parent | 6b84217227e81cdcefdc849e626a3e143beb2f62 (diff) | |
download | u-boot-30ba45dbd6f3a470c739bd5db0663bee86b4cbf6.tar.xz |
sysreset: Mark driver probe functions as static
These driver probe functions are not (and should not be) called from
outside the respective driver source files. Therefore, the functions
should be marked static.
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/sysreset/sysreset_gpio.c')
-rw-r--r-- | drivers/sysreset/sysreset_gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sysreset/sysreset_gpio.c b/drivers/sysreset/sysreset_gpio.c index 680b759eb3..dfca10ccc8 100644 --- a/drivers/sysreset/sysreset_gpio.c +++ b/drivers/sysreset/sysreset_gpio.c @@ -33,7 +33,7 @@ static struct sysreset_ops gpio_reboot_ops = { .request = gpio_reboot_request, }; -int gpio_reboot_probe(struct udevice *dev) +static int gpio_reboot_probe(struct udevice *dev) { struct gpio_reboot_priv *priv = dev_get_priv(dev); |