mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
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>
This commit is contained in:
parent
6b84217227
commit
30ba45dbd6
4 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ static struct sysreset_ops resetctl_reboot_ops = {
|
|||
.request = resetctl_reboot_request,
|
||||
};
|
||||
|
||||
int resetctl_reboot_probe(struct udevice *dev)
|
||||
static int resetctl_reboot_probe(struct udevice *dev)
|
||||
{
|
||||
struct resetctl_reboot_priv *priv = dev_get_priv(dev);
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ static struct sysreset_ops syscon_reboot_ops = {
|
|||
.request = syscon_reboot_request,
|
||||
};
|
||||
|
||||
int syscon_reboot_probe(struct udevice *dev)
|
||||
static int syscon_reboot_probe(struct udevice *dev)
|
||||
{
|
||||
struct syscon_reboot_priv *priv = dev_get_priv(dev);
|
||||
int err;
|
||||
|
|
|
@ -29,7 +29,7 @@ static struct sysreset_ops wdt_reboot_ops = {
|
|||
.request = wdt_reboot_request,
|
||||
};
|
||||
|
||||
int wdt_reboot_probe(struct udevice *dev)
|
||||
static int wdt_reboot_probe(struct udevice *dev)
|
||||
{
|
||||
struct wdt_reboot_priv *priv = dev_get_priv(dev);
|
||||
int err;
|
||||
|
|
Loading…
Reference in a new issue