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:
committed by
Stefan Roese
parent
6b84217227
commit
30ba45dbd6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user